Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001745/0.001745, allocations: 213.9 kB / 23.03 MB, free: 4.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.128/3.128, allocations: 0.5003 GB / 0.8062 GB, free: 28.3 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 70.48 kB / 1.17 GB, free: 19.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/0.331, allocations: 179 MB / 1.345 GB, free: 15.98 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006028/0.337, allocations: 4.151 MB / 1.349 GB, free: 11.8 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003924/0.3409, allocations: 2.311 MB / 1.352 GB, free: 9.484 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.3411, allocations: 23.75 kB / 1.352 GB, free: 9.461 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.3423, allocations: 378.3 kB / 1.352 GB, free: 9.09 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0007977/0.3431, allocations: 378.1 kB / 1.352 GB, free: 8.719 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007215/0.3438, allocations: 329.9 kB / 1.353 GB, free: 8.398 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0007935/0.3446, allocations: 0.6752 MB / 1.353 GB, free: 7.723 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003959/0.345, allocations: 234.3 kB / 1.354 GB, free: 7.488 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003883/0.3453, allocations: 267 kB / 1.354 GB, free: 7.227 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004004/0.3457, allocations: 282.8 kB / 1.354 GB, free: 6.949 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 5.17e-05/0.3458, allocations: 32 kB / 1.354 GB, free: 6.918 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005862/0.3464, allocations: 391.1 kB / 1.354 GB, free: 6.535 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001691/0.3466, allocations: 151.5 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.3468, allocations: 199 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0008559/0.3476, allocations: 0.7276 MB / 1.355 GB, free: 5.461 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.3476, allocations: 0 / 1.355 GB, free: 5.461 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3476, allocations: 0 / 1.355 GB, free: 5.461 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.3476, allocations: 0 / 1.355 GB, free: 5.461 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001181/0.3488, allocations: 0.742 MB / 1.356 GB, free: 4.684 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3489, allocations: 8.031 kB / 1.356 GB, free: 4.676 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.269e-05/0.3489, allocations: 9.188 kB / 1.356 GB, free: 4.668 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.834e-05/0.349, allocations: 86.62 kB / 1.356 GB, free: 4.574 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001369/0.3503, allocations: 180.4 kB / 1.356 GB, free: 4.398 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006311/0.351, allocations: 377.6 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.351, allocations: 29.3 kB / 1.357 GB, free: 3.98 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.378e-05/0.3511, allocations: 36.38 kB / 1.357 GB, free: 3.945 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000994/0.3521, allocations: 0.722 MB / 1.358 GB, free: 3.113 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.3521, allocations: 11.89 kB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/0.3521, allocations: 15.98 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.478e-05/0.3522, allocations: 51.97 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007735/0.353, allocations: 0.4953 MB / 1.358 GB, free: 2.539 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003252/0.3562, allocations: 3.211 MB / 1.361 GB, free: 15.18 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001727/0.358, allocations: 0.6009 MB / 1.362 GB, free: 14.55 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.3582, allocations: 166.5 kB / 1.362 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.164e-05/0.3582, allocations: 4 kB / 1.362 GB, free: 14.38 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/0.3583, allocations: 42.5 kB / 1.362 GB, free: 14.33 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 2.385e-06/0.3583, allocations: 0 / 1.362 GB, free: 14.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=33): time 0.002259/0.3605, allocations: 1.065 MB / 1.363 GB, free: 13.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.955e-05/0.3606, allocations: 110.8 kB / 1.363 GB, free: 13.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004285/0.361, allocations: 405.8 kB / 1.364 GB, free: 12.71 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.025e-05/0.3611, allocations: 33.7 kB / 1.364 GB, free: 12.67 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.3613, allocations: 284.1 kB / 1.364 GB, free: 12.39 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.3614, allocations: 126.9 kB / 1.364 GB, free: 12.26 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.3615, allocations: 102.2 kB / 1.364 GB, free: 12.16 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.3617, allocations: 358.7 kB / 1.365 GB, free: 11.8 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00027/0.362, allocations: 185.2 kB / 1.365 GB, free: 11.62 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.3624, allocations: 368.2 kB / 1.365 GB, free: 11.16 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007342/0.3631, allocations: 0.591 MB / 1.366 GB, free: 10.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3631, allocations: 0 / 1.366 GB, free: 10.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001121/0.3642, allocations: 0.6785 MB / 1.366 GB, free: 9.785 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3643, allocations: 8 kB / 1.366 GB, free: 9.777 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.3643, allocations: 8.781 kB / 1.366 GB, free: 9.77 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003612/0.3646, allocations: 102.5 kB / 1.366 GB, free: 9.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000407/0.365, allocations: 111.8 kB / 1.366 GB, free: 9.551 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003544/0.3686, allocations: 4.022 MB / 1.37 GB, free: 5.184 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.3689, allocations: 27.98 kB / 1.37 GB, free: 5.156 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/0.369, allocations: 27.98 kB / 1.37 GB, free: 5.129 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002439/0.3692, allocations: 197.8 kB / 1.371 GB, free: 4.926 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.3693, allocations: 51.67 kB / 1.371 GB, free: 4.875 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009245/0.3703, allocations: 0.5185 MB / 1.371 GB, free: 4.34 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3703, allocations: 4 kB / 1.371 GB, free: 4.336 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.3703, allocations: 4 kB / 1.371 GB, free: 4.332 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3703, allocations: 0 / 1.371 GB, free: 4.332 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001812/0.3721, allocations: 1.213 MB / 1.372 GB, free: 3.031 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-06/0.3721, allocations: 4 kB / 1.372 GB, free: 3.027 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/0.3724, allocations: 63.98 kB / 1.372 GB, free: 2.965 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002743/0.3726, allocations: 86.45 kB / 1.373 GB, free: 2.871 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.3727, allocations: 11.98 kB / 1.373 GB, free: 2.859 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00348/0.3761, allocations: 4.03 MB / 1.377 GB, free: 14.49 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.3761, allocations: 4.031 kB / 1.377 GB, free: 14.48 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000984/0.3771, allocations: 0.7905 MB / 1.377 GB, free: 13.64 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.3773, allocations: 67.69 kB / 1.377 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.936e-05/0.3774, allocations: 15.98 kB / 1.377 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003012/0.3777, allocations: 19.98 kB / 1.377 GB, free: 13.54 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/0.3777, allocations: 39.81 kB / 1.377 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.313e-05/0.3778, allocations: 12 kB / 1.377 GB, free: 13.48 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003366/0.3781, allocations: 283.2 kB / 1.378 GB, free: 13.21 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3781, allocations: 0 / 1.378 GB, free: 13.21 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007314/0.3788, allocations: 120 kB / 1.378 GB, free: 13.09 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.001358/0.3802, allocations: 1.327 MB / 1.379 GB, free: 11.7 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001365/0.3816, allocations: 0.7791 MB / 1.38 GB, free: 10.88 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3816, allocations: 0 / 1.38 GB, free: 10.88 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007589/0.3823, allocations: 0.5393 MB / 1.38 GB, free: 10.3 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009135/0.3832, allocations: 147.3 kB / 1.381 GB, free: 10.16 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005857/0.3891, allocations: 4.552 MB / 1.385 GB, free: 5.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.3894, allocations: 264.2 kB / 1.385 GB, free: 4.992 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002932/0.3897, allocations: 104.5 kB / 1.385 GB, free: 4.887 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/0.3899, allocations: 155.4 kB / 1.385 GB, free: 4.734 MB / 1.076 GB Notification: Performance of SimCode: time 4.71e-07/0.3899, allocations: 0 / 1.385 GB, free: 4.734 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0398/0.4297, allocations: 10.89 MB / 1.396 GB, free: 10.14 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/12.54, allocations: 2.578 kB / 1.396 GB, free: 10.14 MB / 1.092 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.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: 19.197331308037974]