Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 119.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001739/0.001739, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 225.6 MB / 248.5 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.674/2.674, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001973/0.001973, allocations: 64.09 kB / 1.057 GB, free: 2.043 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3465, allocations: 160.7 MB / 1.214 GB, free: 1.004 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01506/0.3616, allocations: 11.27 MB / 1.225 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.3719, allocations: 5.863 MB / 1.231 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.3731, allocations: 51.62 kB / 1.231 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004585/0.3777, allocations: 1.749 MB / 1.233 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003463/0.3811, allocations: 1.178 MB / 1.234 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002474/0.3836, allocations: 0.8105 MB / 1.234 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.004086/0.3877, allocations: 2.123 MB / 1.237 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00204/0.3897, allocations: 1.037 MB / 1.238 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001958/0.3917, allocations: 0.8601 MB / 1.238 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001944/0.3936, allocations: 0.9649 MB / 1.239 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004824/0.3941, allocations: 112 kB / 1.239 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.397, allocations: 1.204 MB / 1.241 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0009089/0.3979, allocations: 0.549 MB / 1.241 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.3993, allocations: 0.781 MB / 1.242 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.004653/0.404, allocations: 2.436 MB / 1.244 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.404, allocations: 0 / 1.244 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.633e-06/0.404, allocations: 3.938 kB / 1.244 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.792e-05/0.4041, allocations: 0 / 1.244 GB, free: 1.879 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003688/0.4077, allocations: 1.919 MB / 1.246 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.4078, allocations: 8.031 kB / 1.246 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004745/0.4125, allocations: 0.6786 MB / 1.247 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00226/0.4148, allocations: 1.005 MB / 1.248 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001336/0.4149, allocations: 98.89 kB / 1.248 GB, free: 14.07 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003813/0.4153, allocations: 136.2 kB / 1.248 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004197/0.4195, allocations: 2.206 MB / 1.25 GB, free: 11.5 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.763e-05/0.4196, allocations: 11.94 kB / 1.25 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001804/0.4197, allocations: 59.97 kB / 1.25 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002492/0.42, allocations: 166.2 kB / 1.25 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003551/0.4235, allocations: 1.871 MB / 1.252 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7305/1.154, allocations: 12.45 MB / 1.264 GB, free: 41.32 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003754/1.158, allocations: 1.866 MB / 1.266 GB, free: 41.29 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007304/1.159, allocations: 0.5545 MB / 1.267 GB, free: 41.28 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/1.159, allocations: 103.8 kB / 1.267 GB, free: 41.19 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/1.159, allocations: 43.19 kB / 1.267 GB, free: 41.15 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=103): time 4.468e-06/1.159, allocations: 0.7031 kB / 1.267 GB, free: 41.15 MB / 0.9981 GB Notification: Performance of matching and sorting (n=110): time 0.005644/1.164, allocations: 3.722 MB / 1.271 GB, free: 40.13 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.987e-05/1.164, allocations: 66.17 kB / 1.271 GB, free: 40.07 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/1.166, allocations: 0.925 MB / 1.272 GB, free: 39.91 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/1.166, allocations: 47.3 kB / 1.272 GB, free: 39.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/1.166, allocations: 0.7479 MB / 1.272 GB, free: 39.55 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/1.166, allocations: 403.6 kB / 1.273 GB, free: 39.35 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004342/1.167, allocations: 292.3 kB / 1.273 GB, free: 39.31 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.03e-05/1.167, allocations: 305.8 kB / 1.273 GB, free: 39.01 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/1.168, allocations: 0.6109 MB / 1.274 GB, free: 39.01 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/1.169, allocations: 1.103 MB / 1.275 GB, free: 38.41 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/1.172, allocations: 1.838 MB / 1.277 GB, free: 37.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-05/1.172, allocations: 4.281 kB / 1.277 GB, free: 37.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004009/1.176, allocations: 2.104 MB / 1.279 GB, free: 36.53 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.871e-05/1.176, allocations: 13.09 kB / 1.279 GB, free: 36.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.018e-05/1.176, allocations: 15.92 kB / 1.279 GB, free: 36.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001035/1.177, allocations: 254.5 kB / 1.279 GB, free: 36.43 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/1.179, allocations: 378.4 kB / 1.279 GB, free: 36.39 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008022/1.187, allocations: 11.59 MB / 1.291 GB, free: 25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/1.188, allocations: 123.8 kB / 1.291 GB, free: 24.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/1.188, allocations: 72.25 kB / 1.291 GB, free: 24.96 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006861/1.189, allocations: 415.9 kB / 1.291 GB, free: 24.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001961/1.189, allocations: 135.8 kB / 1.291 GB, free: 24.63 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002805/1.192, allocations: 1.67 MB / 1.293 GB, free: 23.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/1.192, allocations: 11.38 kB / 1.293 GB, free: 23.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/1.192, allocations: 5.438 kB / 1.293 GB, free: 23.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/1.192, allocations: 5.484 kB / 1.293 GB, free: 23.95 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004807/1.197, allocations: 3.291 MB / 1.296 GB, free: 22.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/1.197, allocations: 6.594 kB / 1.296 GB, free: 22.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008663/1.198, allocations: 218.7 kB / 1.297 GB, free: 22.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006852/1.198, allocations: 246.6 kB / 1.297 GB, free: 22.38 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.486e-05/1.198, allocations: 24.94 kB / 1.297 GB, free: 22.36 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006311/1.205, allocations: 11.58 MB / 1.308 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.416e-06/1.205, allocations: 10.72 kB / 1.308 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/1.208, allocations: 1.804 MB / 1.31 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005717/1.208, allocations: 313.5 kB / 1.31 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/1.208, allocations: 26.62 kB / 1.31 GB, free: 9.805 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007092/1.209, allocations: 95.48 kB / 1.31 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002063/1.209, allocations: 90.33 kB / 1.31 GB, free: 9.766 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-05/1.209, allocations: 36.33 kB / 1.31 GB, free: 9.758 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007789/1.21, allocations: 0.6268 MB / 1.311 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.21, allocations: 0 / 1.311 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001558/1.212, allocations: 397.2 kB / 1.311 GB, free: 9.449 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002292/1.212, allocations: 144 kB / 1.312 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00334/1.215, allocations: 2.399 MB / 1.314 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.215, allocations: 0 / 1.314 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00194/1.217, allocations: 1.59 MB / 1.315 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/1.219, allocations: 364.4 kB / 1.316 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005383/1.224, allocations: 2.884 MB / 1.319 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001345/1.226, allocations: 1.328 MB / 1.32 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004784/1.226, allocations: 110.2 kB / 1.32 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of SimCode: time 1.303e-06/1.226, allocations: 0 / 1.32 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of Templates: time 0.07565/1.302, allocations: 59.49 MB / 1.378 GB, free: 15.87 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.739811808103696]