Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001348/0.001348, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.00151/0.00151, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.138/3.138, allocations: 0.49 GB / 0.7951 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",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.002098/0.002098, allocations: 64.3 kB / 1.154 GB, free: 25.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3323, allocations: 176.1 MB / 1.326 GB, free: 1.949 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006726/0.3391, allocations: 4.437 MB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004164/0.3432, allocations: 2.501 MB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000366/0.3436, allocations: 23.75 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.3448, allocations: 390.2 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0009777/0.3458, allocations: 382.2 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008386/0.3466, allocations: 327.3 kB / 1.334 GB, free: 9.887 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009696/0.3476, allocations: 0.6868 MB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004793/0.3481, allocations: 230.3 kB / 1.335 GB, free: 8.965 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005733/0.3486, allocations: 267 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005645/0.3492, allocations: 286.8 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.087e-05/0.3493, allocations: 28 kB / 1.335 GB, free: 8.395 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008874/0.3502, allocations: 443 kB / 1.336 GB, free: 7.961 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000207/0.3504, allocations: 151.5 kB / 1.336 GB, free: 7.812 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.3507, allocations: 238.8 kB / 1.336 GB, free: 7.578 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.3519, allocations: 0.7315 MB / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.3519, allocations: 0 / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3519, allocations: 0 / 1.337 GB, free: 6.844 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.994e-05/0.352, allocations: 0 / 1.337 GB, free: 6.844 MB / 1.029 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.00147/0.3534, allocations: 0.7266 MB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.3535, allocations: 19.97 kB / 1.337 GB, free: 6.062 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.903e-05/0.3536, allocations: 70.72 kB / 1.338 GB, free: 5.984 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001451/0.355, allocations: 192.3 kB / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007248/0.3557, allocations: 377.5 kB / 1.338 GB, free: 5.402 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.3558, allocations: 25.38 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.311e-05/0.3558, allocations: 36.36 kB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009089/0.3568, allocations: 0.6508 MB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/0.3568, allocations: 4 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/0.3568, allocations: 16 kB / 1.339 GB, free: 4.586 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.779e-05/0.3569, allocations: 55.89 kB / 1.339 GB, free: 4.531 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007562/0.3577, allocations: 498.2 kB / 1.339 GB, free: 4.047 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003522/0.3612, allocations: 3.752 MB / 1.343 GB, free: 44 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.3629, allocations: 0.6048 MB / 1.344 GB, free: 15.41 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.3631, allocations: 170.4 kB / 1.344 GB, free: 15.23 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.3632, allocations: 8 kB / 1.344 GB, free: 15.23 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.3632, allocations: 34.56 kB / 1.344 GB, free: 15.18 MB / 1.045 GB Notification: Performance of pre-optimization done (n=30): time 2.044e-06/0.3632, allocations: 0 / 1.344 GB, free: 15.18 MB / 1.045 GB Notification: Performance of matching and sorting (n=33): time 0.002268/0.3655, allocations: 1.071 MB / 1.345 GB, free: 14.09 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.3655, allocations: 106.8 kB / 1.345 GB, free: 13.96 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004548/0.366, allocations: 405.8 kB / 1.345 GB, free: 13.55 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.366, allocations: 29.7 kB / 1.345 GB, free: 13.52 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.3662, allocations: 288.2 kB / 1.346 GB, free: 13.23 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.3663, allocations: 123 kB / 1.346 GB, free: 13.11 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.3665, allocations: 98.3 kB / 1.346 GB, free: 13.01 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3666, allocations: 350.8 kB / 1.346 GB, free: 12.66 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.3669, allocations: 177.2 kB / 1.346 GB, free: 12.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004165/0.3673, allocations: 376.1 kB / 1.347 GB, free: 12.02 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007725/0.3681, allocations: 0.599 MB / 1.347 GB, free: 11.33 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/0.3681, allocations: 4 kB / 1.347 GB, free: 11.33 MB / 1.045 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00111/0.3692, allocations: 0.6676 MB / 1.348 GB, free: 10.64 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.3692, allocations: 12.12 kB / 1.348 GB, free: 10.63 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.3693, allocations: 8 kB / 1.348 GB, free: 10.62 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003535/0.3696, allocations: 103.8 kB / 1.348 GB, free: 10.52 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003975/0.37, allocations: 111.8 kB / 1.348 GB, free: 10.41 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003592/0.3736, allocations: 4.03 MB / 1.352 GB, free: 6.035 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.3739, allocations: 36.12 kB / 1.352 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.93e-05/0.374, allocations: 24.94 kB / 1.352 GB, free: 5.977 MB / 1.045 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.0002436/0.3742, allocations: 198.1 kB / 1.352 GB, free: 5.773 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.3743, allocations: 47.72 kB / 1.352 GB, free: 5.727 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008801/0.3752, allocations: 0.5227 MB / 1.353 GB, free: 5.191 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.271e-06/0.3752, allocations: 4 kB / 1.353 GB, free: 5.188 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3752, allocations: 4 kB / 1.353 GB, free: 5.184 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.3752, allocations: 3.984 kB / 1.353 GB, free: 5.18 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001824/0.377, allocations: 1.255 MB / 1.354 GB, free: 3.836 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.74e-06/0.377, allocations: 4 kB / 1.354 GB, free: 3.832 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000248/0.3773, allocations: 63.89 kB / 1.354 GB, free: 3.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002597/0.3776, allocations: 90.8 kB / 1.354 GB, free: 3.672 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.738e-05/0.3776, allocations: 15.98 kB / 1.354 GB, free: 3.656 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00342/0.381, allocations: 4.041 MB / 1.358 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.381, allocations: 4 kB / 1.358 GB, free: 15.27 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000953/0.382, allocations: 0.7778 MB / 1.359 GB, free: 14.43 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002133/0.3822, allocations: 75.64 kB / 1.359 GB, free: 14.36 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.189e-05/0.3822, allocations: 11.98 kB / 1.359 GB, free: 14.34 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.3825, allocations: 23.98 kB / 1.359 GB, free: 14.32 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.762e-05/0.3826, allocations: 47.8 kB / 1.359 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-05/0.3826, allocations: 12 kB / 1.359 GB, free: 14.26 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003213/0.383, allocations: 279.1 kB / 1.359 GB, free: 13.99 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.383, allocations: 0 / 1.359 GB, free: 13.99 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006903/0.3837, allocations: 124 kB / 1.36 GB, free: 13.87 MB / 1.061 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.001283/0.3849, allocations: 1.327 MB / 1.361 GB, free: 12.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001336/0.3863, allocations: 0.7849 MB / 1.362 GB, free: 11.65 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3863, allocations: 1.062 kB / 1.362 GB, free: 11.65 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.000728/0.387, allocations: 0.5391 MB / 1.362 GB, free: 11.07 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000881/0.3879, allocations: 136.3 kB / 1.362 GB, free: 10.94 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006086/0.394, allocations: 4.546 MB / 1.367 GB, free: 6.047 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/0.3945, allocations: 0.8664 MB / 1.368 GB, free: 5.152 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0002752/0.3948, allocations: 104.5 kB / 1.368 GB, free: 5.051 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.395, allocations: 151.4 kB / 1.368 GB, free: 4.902 MB / 1.061 GB Notification: Performance of SimCode: time 9.12e-07/0.395, allocations: 0 / 1.368 GB, free: 4.902 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.733/2.128, allocations: 10.49 MB / 1.378 GB, free: 10.63 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.35/17.47, allocations: 2.625 kB / 1.378 GB, free: 10.63 MB / 1.076 GB " [Timeout remaining time 282] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 24.068907629931346]