Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_10_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.001447/0.001447, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00169/0.00169, allocations: 195.5 kB / 16.14 MB, free: 6.691 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.286/1.286, allocations: 222.9 MB / 239.8 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.39/2.39, allocations: 437 MB / 0.7099 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.89 kB / 0.8687 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.646/0.6472, allocations: 151.6 MB / 1.017 GB, free: 2.809 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01753/0.6648, allocations: 15.93 MB / 1.032 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.008109/0.673, allocations: 4.817 MB / 1.037 GB, free: 14 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.6746, allocations: 59.69 kB / 1.037 GB, free: 13.94 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.003042/0.6777, allocations: 0.9669 MB / 1.038 GB, free: 12.97 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.002142/0.6799, allocations: 0.6963 MB / 1.039 GB, free: 12.27 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002523/0.6824, allocations: 0.8334 MB / 1.039 GB, free: 11.44 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004783/0.6872, allocations: 5.264 MB / 1.045 GB, free: 6.164 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006525/0.6938, allocations: 5.431 MB / 1.05 GB, free: 0.668 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002215/0.696, allocations: 1.332 MB / 1.051 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00238/0.6984, allocations: 1.811 MB / 1.053 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004538/0.6989, allocations: 236 kB / 1.053 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.7005, allocations: 0.8346 MB / 1.054 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001233/0.7018, allocations: 1.22 MB / 1.055 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.7033, allocations: 1.342 MB / 1.057 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004799/0.7081, allocations: 5.056 MB / 1.061 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.7082, allocations: 3.984 kB / 1.061 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.734e-06/0.7082, allocations: 0 / 1.061 GB, free: 4.805 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001027/0.7083, allocations: 0 / 1.061 GB, free: 4.805 MB / 0.8106 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.004544/0.7128, allocations: 2.651 MB / 1.064 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.7129, allocations: 8.031 kB / 1.064 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004114/0.7133, allocations: 370.5 kB / 1.064 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003692/0.717, allocations: 0.8368 MB / 1.065 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00244/0.7194, allocations: 1.497 MB / 1.067 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001097/0.7196, allocations: 177.1 kB / 1.067 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003892/0.72, allocations: 236.3 kB / 1.067 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006339/0.7263, allocations: 4.171 MB / 1.071 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.139e-05/0.7264, allocations: 7.922 kB / 1.071 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/0.7266, allocations: 108 kB / 1.071 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001786/0.7268, allocations: 168.5 kB / 1.071 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005362/0.7322, allocations: 3.634 MB / 1.075 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01609/0.7483, allocations: 16.53 MB / 1.091 GB, free: 4.723 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003024/0.7513, allocations: 2.295 MB / 1.093 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007908/0.7521, allocations: 0.5819 MB / 1.094 GB, free: 1.633 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.7523, allocations: 97.61 kB / 1.094 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.7523, allocations: 43.11 kB / 1.094 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=72): time 2.755e-06/0.7523, allocations: 0 / 1.094 GB, free: 1.469 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.00523/0.7576, allocations: 3.428 MB / 1.097 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.7576, allocations: 119.5 kB / 1.098 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.7588, allocations: 1.01 MB / 1.099 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.7589, allocations: 37.7 kB / 1.099 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006022/0.7595, allocations: 1.103 MB / 1.1 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.7597, allocations: 276.1 kB / 1.1 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003696/0.7601, allocations: 283.2 kB / 1.1 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001716/0.7603, allocations: 410.7 kB / 1.101 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008807/0.7612, allocations: 0.6207 MB / 1.101 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.7624, allocations: 1.189 MB / 1.102 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002152/0.7646, allocations: 1.864 MB / 1.104 GB, free: 6.43 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.7646, allocations: 11.94 kB / 1.104 GB, free: 6.418 MB / 0.8575 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003041/0.7677, allocations: 2.014 MB / 1.106 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.677e-05/0.7677, allocations: 16.69 kB / 1.106 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.7677, allocations: 16 kB / 1.106 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004134/0.7682, allocations: 163.3 kB / 1.106 GB, free: 4.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.7692, allocations: 339.4 kB / 1.107 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.698e-05/0.7693, allocations: 39.86 kB / 1.107 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.7703, allocations: 143.7 kB / 1.107 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/0.7704, allocations: 71.98 kB / 1.107 GB, free: 3.598 MB / 0.8575 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.001705/0.7721, allocations: 0.9693 MB / 1.108 GB, free: 2.617 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002939/0.7724, allocations: 114.6 kB / 1.108 GB, free: 2.504 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/0.7746, allocations: 1.233 MB / 1.109 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.7747, allocations: 8 kB / 1.109 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.7747, allocations: 7.938 kB / 1.109 GB, free: 1.23 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.7747, allocations: 3.984 kB / 1.109 GB, free: 1.227 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006159/0.7809, allocations: 3.808 MB / 1.113 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.7809, allocations: 0 / 1.113 GB, free: 13.27 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005777/0.7815, allocations: 159.8 kB / 1.113 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003628/0.7818, allocations: 139.6 kB / 1.113 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/0.7819, allocations: 16 kB / 1.113 GB, free: 12.95 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.084e-05/0.7819, allocations: 7.938 kB / 1.113 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.7819, allocations: 7.938 kB / 1.113 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001898/0.7838, allocations: 1.468 MB / 1.115 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004809/0.7843, allocations: 279.7 kB / 1.115 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.7845, allocations: 12 kB / 1.115 GB, free: 11.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000662/0.7852, allocations: 75.89 kB / 1.115 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.7854, allocations: 56.42 kB / 1.115 GB, free: 10.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-05/0.7854, allocations: 28 kB / 1.115 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001051/0.7865, allocations: 0.6953 MB / 1.116 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7865, allocations: 0 / 1.116 GB, free: 10.23 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001652/0.7881, allocations: 384 kB / 1.116 GB, free: 9.859 MB / 0.8731 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.002365/0.7905, allocations: 2.033 MB / 1.118 GB, free: 7.762 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002229/0.7928, allocations: 1.711 MB / 1.12 GB, free: 5.973 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7928, allocations: 0 / 1.12 GB, free: 5.973 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009089/0.7937, allocations: 0.871 MB / 1.121 GB, free: 5.016 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.7952, allocations: 259.3 kB / 1.121 GB, free: 4.766 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02242/0.8176, allocations: 14.3 MB / 1.135 GB, free: 5.602 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002023/0.8197, allocations: 1.916 MB / 1.137 GB, free: 3.652 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001185/0.8209, allocations: 449.4 kB / 1.137 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009243/0.8218, allocations: 0.7141 MB / 1.138 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of SimCode: time 1.012e-06/0.8219, allocations: 0 / 1.138 GB, free: 2.5 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3207/1.143, allocations: 26.72 MB / 1.164 GB, free: 8.102 MB / 0.92 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002924/1.143, allocations: 260.1 kB / 1.164 GB, free: 7.836 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.443/3.586, allocations: 0 / 1.164 GB, free: 7.836 MB / 0.92 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches