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.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.001801/0.001801, allocations: 108.8 kB / 16.4 MB, free: 6.5 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.00205/0.00205, allocations: 191.7 kB / 19.36 MB, free: 3.75 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.465/1.465, allocations: 222.9 MB / 245.1 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.151/3.151, allocations: 489 MB / 0.7678 GB, free: 29.2 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002775/0.002775, allocations: 67.89 kB / 1.101 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8171/0.8199, allocations: 163.8 MB / 1.261 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006358/0.8263, allocations: 4.291 MB / 1.265 GB, free: 2.797 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004064/0.8304, allocations: 2.373 MB / 1.268 GB, free: 424 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.8307, allocations: 15.88 kB / 1.268 GB, free: 408 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001171/0.8319, allocations: 381.1 kB / 1.268 GB, free: 28 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0009668/0.8329, allocations: 366.2 kB / 1.268 GB, free: 15.67 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008462/0.8338, allocations: 323.2 kB / 1.269 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008553/0.8346, allocations: 0.675 MB / 1.269 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004681/0.8351, allocations: 258 kB / 1.269 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003616/0.8355, allocations: 262.9 kB / 1.27 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.8359, allocations: 258.9 kB / 1.27 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.8359, allocations: 28 kB / 1.27 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007741/0.8367, allocations: 439 kB / 1.27 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.8369, allocations: 143.5 kB / 1.271 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.8372, allocations: 242.6 kB / 1.271 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001013/0.8382, allocations: 0.7382 MB / 1.272 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.8382, allocations: 0 / 1.272 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8382, allocations: 0 / 1.272 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.8383, allocations: 0 / 1.272 GB, free: 12.33 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001329/0.8396, allocations: 0.7979 MB / 1.272 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.8396, allocations: 8.031 kB / 1.272 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.561e-05/0.8397, allocations: 86.69 kB / 1.272 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001408/0.8412, allocations: 188.3 kB / 1.273 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006627/0.8418, allocations: 440.7 kB / 1.273 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.115e-05/0.8419, allocations: 29.36 kB / 1.273 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.187e-05/0.8419, allocations: 28.38 kB / 1.273 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009788/0.8429, allocations: 0.6547 MB / 1.274 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.843, allocations: 7.891 kB / 1.274 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.843, allocations: 20 kB / 1.274 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-05/0.8431, allocations: 55.94 kB / 1.274 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007913/0.8439, allocations: 0.4915 MB / 1.274 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003659/0.8476, allocations: 3.791 MB / 1.278 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.8494, allocations: 0.6211 MB / 1.279 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002848/0.8497, allocations: 182.5 kB / 1.279 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/0.8497, allocations: 4 kB / 1.279 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/0.8498, allocations: 46.5 kB / 1.279 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 6.061e-06/0.8498, allocations: 0 / 1.279 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002462/0.8523, allocations: 1.29 MB / 1.28 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/0.8523, allocations: 114.8 kB / 1.28 GB, free: 2.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/0.8528, allocations: 397.8 kB / 1.281 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.8529, allocations: 33.7 kB / 1.281 GB, free: 2.465 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.8531, allocations: 288.1 kB / 1.281 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001058/0.8532, allocations: 123 kB / 1.281 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.8534, allocations: 102.1 kB / 1.281 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.8535, allocations: 358.8 kB / 1.281 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002767/0.8538, allocations: 173 kB / 1.282 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004561/0.8543, allocations: 379.2 kB / 1.282 GB, free: 0.9648 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007994/0.8551, allocations: 0.5874 MB / 1.282 GB, free: 292 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.8551, allocations: 0 / 1.282 GB, free: 292 kB / 0.9825 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001169/0.8563, allocations: 0.6828 MB / 1.283 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.8563, allocations: 8 kB / 1.283 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.8563, allocations: 5.062 kB / 1.283 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/0.8567, allocations: 102.4 kB / 1.283 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004222/0.8571, allocations: 119.8 kB / 1.283 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003995/0.8611, allocations: 4.348 MB / 1.288 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/0.8616, allocations: 31.97 kB / 1.288 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.788e-05/0.8616, allocations: 24 kB / 1.288 GB, free: 10.53 MB / 0.9981 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.0002705/0.8619, allocations: 201.7 kB / 1.288 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.862, allocations: 51.67 kB / 1.288 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009767/0.863, allocations: 0.5108 MB / 1.288 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.863, allocations: 4 kB / 1.288 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.8631, allocations: 8 kB / 1.288 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.8631, allocations: 3.984 kB / 1.288 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/0.8649, allocations: 1.288 MB / 1.29 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.865, allocations: 4 kB / 1.29 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.8652, allocations: 67.89 kB / 1.29 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/0.8655, allocations: 82.8 kB / 1.29 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.8655, allocations: 15.98 kB / 1.29 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003824/0.8694, allocations: 4.336 MB / 1.294 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.8694, allocations: 4.031 kB / 1.294 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.8705, allocations: 0.7823 MB / 1.295 GB, free: 2.566 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.8707, allocations: 152.8 kB / 1.295 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/0.8708, allocations: 15.95 kB / 1.295 GB, free: 2.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.8711, allocations: 23.97 kB / 1.295 GB, free: 2.359 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.469e-05/0.8712, allocations: 35.84 kB / 1.295 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.8712, allocations: 8 kB / 1.295 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003307/0.8716, allocations: 287.1 kB / 1.295 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8716, allocations: 0 / 1.295 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006897/0.8723, allocations: 120 kB / 1.295 GB, free: 1.922 MB / 0.9981 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.001438/0.8737, allocations: 1.337 MB / 1.297 GB, free: 0.5195 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.8752, allocations: 0.8056 MB / 1.298 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.8753, allocations: 0 / 1.298 GB, free: 15.68 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0008065/0.8761, allocations: 0.5513 MB / 1.298 GB, free: 15.09 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009848/0.8771, allocations: 133.4 kB / 1.298 GB, free: 14.96 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006138/0.8832, allocations: 4.565 MB / 1.303 GB, free: 10.06 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/0.8838, allocations: 0.8586 MB / 1.304 GB, free: 9.176 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0003316/0.8842, allocations: 100.5 kB / 1.304 GB, free: 9.078 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002412/0.8844, allocations: 155.4 kB / 1.304 GB, free: 8.926 MB / 1.014 GB Notification: Performance of SimCode: time 1.532e-06/0.8844, allocations: 0 / 1.304 GB, free: 8.926 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04321/0.9276, allocations: 10.02 MB / 1.314 GB, free: 15.12 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/11.65, allocations: 8.844 kB / 1.314 GB, free: 15.11 MB / 1.029 GB " [Timeout remaining time 288] (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_2/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: 17.757193034980446]