Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001813, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00203/0.002031, allocations: 188.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.698/1.698, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.337/3.337, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001789/0.001789, allocations: 68.08 kB / 0.8987 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.443, allocations: 157.4 MB / 1.052 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02997/0.473, allocations: 15.93 MB / 1.068 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01315/0.4862, allocations: 4.774 MB / 1.073 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002666/0.4889, allocations: 55.69 kB / 1.073 GB, free: 3.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004744/0.4938, allocations: 0.968 MB / 1.074 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004545/0.4983, allocations: 0.6808 MB / 1.074 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004611/0.503, allocations: 0.8412 MB / 1.075 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006154/0.5091, allocations: 3.626 MB / 1.079 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01369/0.5229, allocations: 5.842 MB / 1.084 GB, free: 7.785 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002847/0.5258, allocations: 1.597 MB / 1.086 GB, free: 6.184 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002788/0.5286, allocations: 1.862 MB / 1.088 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001052/0.5297, allocations: 340 kB / 1.088 GB, free: 3.984 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002364/0.532, allocations: 0.7997 MB / 1.089 GB, free: 3.184 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001985/0.5341, allocations: 1.326 MB / 1.09 GB, free: 1.855 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.00283/0.5369, allocations: 1.451 MB / 1.092 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.005892/0.5428, allocations: 5.142 MB / 1.097 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.453e-06/0.5429, allocations: 0 / 1.097 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5429, allocations: 0 / 1.097 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001536/0.543, allocations: 3.938 kB / 1.097 GB, free: 11.24 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.005683/0.5487, allocations: 2.652 MB / 1.099 GB, free: 8.527 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.5488, allocations: 12.62 kB / 1.099 GB, free: 8.516 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005237/0.5493, allocations: 370.5 kB / 1.1 GB, free: 8.145 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004105/0.5534, allocations: 0.829 MB / 1.1 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/0.5565, allocations: 1.505 MB / 1.102 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.5566, allocations: 177.1 kB / 1.102 GB, free: 5.586 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007286/0.5574, allocations: 232.4 kB / 1.102 GB, free: 5.359 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/0.568, allocations: 4.177 MB / 1.106 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000154/0.5683, allocations: 0 / 1.106 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00114/0.5694, allocations: 99.98 kB / 1.106 GB, free: 0.9453 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002586/0.5697, allocations: 168.5 kB / 1.107 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007835/0.5775, allocations: 3.636 MB / 1.11 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03035/0.6079, allocations: 16.53 MB / 1.126 GB, free: 11.17 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005413/0.6134, allocations: 2.292 MB / 1.128 GB, free: 8.668 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009845/0.6145, allocations: 0.5763 MB / 1.129 GB, free: 8.086 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001852/0.6147, allocations: 97.66 kB / 1.129 GB, free: 7.973 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.971e-05/0.6147, allocations: 39.12 kB / 1.129 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=72): time 2.735e-06/0.6147, allocations: 0 / 1.129 GB, free: 7.926 MB / 0.8887 GB Notification: Performance of matching and sorting (n=76): time 0.00759/0.6223, allocations: 3.432 MB / 1.133 GB, free: 4.387 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.869e-05/0.6225, allocations: 119.5 kB / 1.133 GB, free: 4.246 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001935/0.6244, allocations: 1.018 MB / 1.134 GB, free: 3.203 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 8.8e-05/0.6245, allocations: 37.7 kB / 1.134 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009004/0.6254, allocations: 1.103 MB / 1.135 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000347/0.6258, allocations: 272.3 kB / 1.135 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005598/0.6264, allocations: 279.2 kB / 1.135 GB, free: 1.492 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002897/0.6267, allocations: 418.6 kB / 1.136 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.6279, allocations: 0.6167 MB / 1.136 GB, free: 468 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.6296, allocations: 1.193 MB / 1.137 GB, free: 15 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002813/0.6324, allocations: 1.856 MB / 1.139 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.189e-05/0.6324, allocations: 15.98 kB / 1.139 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.00369/0.6361, allocations: 2.003 MB / 1.141 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.962e-05/0.6362, allocations: 16 kB / 1.141 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.672e-05/0.6362, allocations: 16.62 kB / 1.141 GB, free: 10.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004981/0.6368, allocations: 171.3 kB / 1.141 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.638, allocations: 347.4 kB / 1.142 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.655e-05/0.638, allocations: 39.86 kB / 1.142 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.6392, allocations: 147.5 kB / 1.142 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.6393, allocations: 64 kB / 1.142 GB, free: 10.04 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001504/0.6409, allocations: 0.9786 MB / 1.143 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003267/0.6412, allocations: 110.7 kB / 1.143 GB, free: 8.945 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002225/0.6434, allocations: 1.226 MB / 1.144 GB, free: 7.695 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/0.6435, allocations: 8 kB / 1.144 GB, free: 7.688 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/0.6435, allocations: 4 kB / 1.144 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.6435, allocations: 3.984 kB / 1.144 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006707/0.6502, allocations: 3.807 MB / 1.148 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.6503, allocations: 0 / 1.148 GB, free: 3.727 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006573/0.6509, allocations: 163.7 kB / 1.148 GB, free: 3.566 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003859/0.6513, allocations: 147.5 kB / 1.148 GB, free: 3.41 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.175e-05/0.6514, allocations: 16 kB / 1.148 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.456e-05/0.6514, allocations: 7.938 kB / 1.148 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.6515, allocations: 8 kB / 1.148 GB, free: 3.379 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.6536, allocations: 1.464 MB / 1.15 GB, free: 1.859 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006078/0.6542, allocations: 271.7 kB / 1.15 GB, free: 1.574 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002971/0.6545, allocations: 16 kB / 1.15 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007935/0.6553, allocations: 75.89 kB / 1.15 GB, free: 1.484 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001591/0.6555, allocations: 60.36 kB / 1.15 GB, free: 1.426 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.017e-05/0.6556, allocations: 28 kB / 1.15 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001149/0.6567, allocations: 0.6914 MB / 1.151 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of sort global known variables: time 4.61e-07/0.6567, allocations: 0 / 1.151 GB, free: 0.6953 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001642/0.6584, allocations: 384 kB / 1.151 GB, free: 328 kB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002446/0.6608, allocations: 2.048 MB / 1.153 GB, free: 14.2 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003206/0.664, allocations: 2.008 MB / 1.155 GB, free: 12.11 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.6641, allocations: 384 / 1.155 GB, free: 12.11 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0009864/0.6651, allocations: 0.8697 MB / 1.156 GB, free: 11.16 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001688/0.6668, allocations: 270.5 kB / 1.156 GB, free: 10.89 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0253/0.6921, allocations: 14.3 MB / 1.17 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002843/0.695, allocations: 1.912 MB / 1.172 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001375/0.6964, allocations: 453.4 kB / 1.173 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/0.6975, allocations: 0.7141 MB / 1.173 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of SimCode: time 1.353e-06/0.6975, allocations: 0 / 1.173 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.461/1.159, allocations: 27.24 MB / 1.2 GB, free: 13.76 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004559/1.159, allocations: 255.5 kB / 1.2 GB, free: 13.5 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.05/5.209, allocations: 0 / 1.2 GB, free: 13.5 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches