Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007911/0.0007911, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008208/0.0008208, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8299/0.8299, allocations: 177.2 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.581/1.581, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.899e-05/2.05e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003892/0.003913, allocations: 4.113 MB / 0.9545 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002101/0.006014, allocations: 2.287 MB / 0.9567 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.006139, allocations: 31.75 kB / 0.9568 GB, free: 13.04 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006098/0.006749, allocations: 367.4 kB / 0.9571 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0004019/0.007151, allocations: 401.7 kB / 0.9575 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003195/0.00747, allocations: 322.3 kB / 0.9578 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0004923/0.007963, allocations: 0.71 MB / 0.9585 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.008227, allocations: 234 kB / 0.9587 GB, free: 11.03 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000312/0.008539, allocations: 367 kB / 0.9591 GB, free: 10.67 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/0.008776, allocations: 243.3 kB / 0.9593 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.251e-05/0.008808, allocations: 28 kB / 0.9593 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.009109, allocations: 394.8 kB / 0.9597 GB, free: 10.02 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.00921, allocations: 147.5 kB / 0.9599 GB, free: 9.871 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.009312, allocations: 159.5 kB / 0.96 GB, free: 9.715 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005143/0.009826, allocations: 0.7592 MB / 0.9607 GB, free: 8.953 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.009828, allocations: 0 / 0.9607 GB, free: 8.953 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.122e-06/0.009829, allocations: 0 / 0.9607 GB, free: 8.953 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.009834, allocations: 4 kB / 0.9608 GB, free: 8.949 MB / 0.9167 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.0006769/0.01051, allocations: 0.7148 MB / 0.9615 GB, free: 8.203 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.29e-05/0.01054, allocations: 8.031 kB / 0.9615 GB, free: 8.195 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.369e-05/0.01061, allocations: 86.69 kB / 0.9615 GB, free: 8.102 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006652/0.01127, allocations: 184.4 kB / 0.9617 GB, free: 7.922 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.01166, allocations: 372.9 kB / 0.9621 GB, free: 7.531 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.01167, allocations: 25.36 kB / 0.9621 GB, free: 7.508 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.02e-05/0.01171, allocations: 28.38 kB / 0.9621 GB, free: 7.48 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005608/0.01227, allocations: 0.7343 MB / 0.9628 GB, free: 6.637 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.01229, allocations: 8.078 kB / 0.9628 GB, free: 6.629 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.01232, allocations: 24.11 kB / 0.9629 GB, free: 6.605 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-05/0.01237, allocations: 51.97 kB / 0.9629 GB, free: 6.555 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004767/0.01284, allocations: 0.4915 MB / 0.9634 GB, free: 6.062 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001738/0.01458, allocations: 3.183 MB / 0.9665 GB, free: 2.734 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008803/0.01546, allocations: 0.5977 MB / 0.9671 GB, free: 2.109 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.01561, allocations: 166.5 kB / 0.9673 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.01563, allocations: 0 / 0.9673 GB, free: 1.938 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.01564, allocations: 42.5 kB / 0.9673 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=30): time 1.333e-06/0.01565, allocations: 0 / 0.9673 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33): time 0.00124/0.01689, allocations: 1.067 MB / 0.9683 GB, free: 0.8008 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.78e-05/0.01692, allocations: 110.8 kB / 0.9684 GB, free: 0.668 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.01717, allocations: 409.8 kB / 0.9688 GB, free: 260 kB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.01719, allocations: 29.7 kB / 0.9689 GB, free: 224 kB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.01732, allocations: 292.1 kB / 0.9691 GB, free: 15.93 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.582e-05/0.01737, allocations: 127 kB / 0.9693 GB, free: 15.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.239e-05/0.01745, allocations: 102.3 kB / 0.9694 GB, free: 15.7 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.502e-05/0.01754, allocations: 352.4 kB / 0.9697 GB, free: 15.35 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/0.01771, allocations: 177.2 kB / 0.9699 GB, free: 15.17 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.01795, allocations: 384.1 kB / 0.9702 GB, free: 14.71 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004395/0.01838, allocations: 0.5874 MB / 0.9708 GB, free: 14.03 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.01839, allocations: 4 kB / 0.9708 GB, free: 14.02 MB / 0.9323 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.000635/0.01902, allocations: 0.6795 MB / 0.9715 GB, free: 13.33 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.01904, allocations: 8 kB / 0.9715 GB, free: 13.32 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.01904, allocations: 8.094 kB / 0.9715 GB, free: 13.31 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000196/0.01924, allocations: 90.52 kB / 0.9716 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.01944, allocations: 115.8 kB / 0.9717 GB, free: 13.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001891/0.02133, allocations: 4.026 MB / 0.9756 GB, free: 8.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.02151, allocations: 32.34 kB / 0.9756 GB, free: 8.699 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.02153, allocations: 32 kB / 0.9757 GB, free: 8.668 MB / 0.9323 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.0001377/0.02167, allocations: 194.1 kB / 0.9759 GB, free: 8.469 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.02173, allocations: 47.72 kB / 0.9759 GB, free: 8.422 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005134/0.02224, allocations: 0.5187 MB / 0.9764 GB, free: 7.891 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.02224, allocations: 7.938 kB / 0.9764 GB, free: 7.883 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.02225, allocations: 4 kB / 0.9764 GB, free: 7.879 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02225, allocations: 7.922 kB / 0.9764 GB, free: 7.871 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.02328, allocations: 1.201 MB / 0.9776 GB, free: 6.582 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.02328, allocations: 4 kB / 0.9776 GB, free: 6.578 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.0234, allocations: 59.89 kB / 0.9777 GB, free: 6.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000141/0.02354, allocations: 98.38 kB / 0.9778 GB, free: 6.414 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.02355, allocations: 16.28 kB / 0.9778 GB, free: 6.398 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001682/0.02524, allocations: 4.01 MB / 0.9817 GB, free: 2.047 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.02524, allocations: 3.938 kB / 0.9817 GB, free: 2.043 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.02577, allocations: 0.7762 MB / 0.9825 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 9.298e-05/0.02586, allocations: 83.56 kB / 0.9825 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.02588, allocations: 8 kB / 0.9825 GB, free: 1.121 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001598/0.02604, allocations: 32.12 kB / 0.9826 GB, free: 1.09 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.02608, allocations: 35.83 kB / 0.9826 GB, free: 1.055 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.0261, allocations: 12 kB / 0.9826 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001757/0.02627, allocations: 279.1 kB / 0.9829 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.71e-07/0.02627, allocations: 0 / 0.9829 GB, free: 0.7695 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.000381/0.02665, allocations: 120 kB / 0.983 GB, free: 0.6523 MB / 0.9323 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.0007054/0.02736, allocations: 1.331 MB / 0.9843 GB, free: 15.25 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000681/0.02804, allocations: 0.7858 MB / 0.9851 GB, free: 14.43 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02804, allocations: 0 / 0.9851 GB, free: 14.43 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000336/0.02838, allocations: 0.531 MB / 0.9856 GB, free: 13.86 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005382/0.02892, allocations: 136 kB / 0.9857 GB, free: 13.73 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.03228, allocations: 4.542 MB / 0.9901 GB, free: 8.844 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000168/0.03245, allocations: 260.3 kB / 0.9904 GB, free: 8.57 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001578/0.03261, allocations: 104.5 kB / 0.9905 GB, free: 8.469 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.03275, allocations: 152.5 kB / 0.9906 GB, free: 8.32 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/0.03275, allocations: 4 kB / 0.9906 GB, free: 8.316 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0251/0.05785, allocations: 11.23 MB / 1.002 GB, free: 13.37 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.838/6.896, allocations: 5.203 kB / 1.002 GB, free: 13.37 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 10.596745249815285]