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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001095/0.001095, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 437 MB / 0.7104 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 71.89 kB / 0.8694 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6161/0.6174, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01693/0.6344, allocations: 16.02 MB / 1.033 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00781/0.6422, allocations: 4.812 MB / 1.038 GB, free: 13.63 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001195/0.6434, allocations: 67.62 kB / 1.038 GB, free: 13.56 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.6462, allocations: 1.057 MB / 1.039 GB, free: 12.5 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.6481, allocations: 0.7425 MB / 1.04 GB, free: 11.76 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.6502, allocations: 0.9041 MB / 1.04 GB, free: 10.85 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.003403/0.6537, allocations: 3.614 MB / 1.044 GB, free: 7.227 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004995/0.6587, allocations: 4.814 MB / 1.049 GB, free: 2.344 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001951/0.6606, allocations: 1.574 MB / 1.05 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.6626, allocations: 1.776 MB / 1.052 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0004176/0.663, allocations: 336 kB / 1.052 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.6643, allocations: 0.8036 MB / 1.053 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.6654, allocations: 1.333 MB / 1.054 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001324/0.6668, allocations: 1.459 MB / 1.056 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.004137/0.6709, allocations: 5.087 MB / 1.061 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6709, allocations: 0 / 1.061 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6709, allocations: 0 / 1.061 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.992e-05/0.671, allocations: 4 kB / 1.061 GB, free: 5.941 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.004447/0.6755, allocations: 2.643 MB / 1.063 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.6755, allocations: 11.97 kB / 1.063 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004369/0.676, allocations: 378.5 kB / 1.064 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003785/0.6797, allocations: 0.829 MB / 1.065 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/0.682, allocations: 1.494 MB / 1.066 GB, free: 488 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.6821, allocations: 181.1 kB / 1.066 GB, free: 304 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003473/0.6825, allocations: 240.2 kB / 1.066 GB, free: 64 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006/0.6885, allocations: 4.162 MB / 1.07 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.785e-05/0.6885, allocations: 7.938 kB / 1.07 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.6888, allocations: 95.98 kB / 1.071 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001745/0.689, allocations: 172.5 kB / 1.071 GB, free: 11.49 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00526/0.6943, allocations: 3.636 MB / 1.074 GB, free: 7.836 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01662/0.7109, allocations: 16.55 MB / 1.09 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/0.7141, allocations: 2.285 MB / 1.093 GB, free: 3.371 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008204/0.715, allocations: 0.5801 MB / 1.093 GB, free: 2.785 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001277/0.7151, allocations: 101.6 kB / 1.093 GB, free: 2.668 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.7152, allocations: 43.12 kB / 1.093 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=72): time 2.335e-06/0.7152, allocations: 0 / 1.093 GB, free: 2.617 MB / 0.8419 GB Notification: Performance of matching and sorting (n=76): time 0.005378/0.7206, allocations: 3.428 MB / 1.097 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.7206, allocations: 111.5 kB / 1.097 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/0.7219, allocations: 1.014 MB / 1.098 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.7219, allocations: 37.7 kB / 1.098 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006233/0.7225, allocations: 1.103 MB / 1.099 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.7228, allocations: 272.1 kB / 1.099 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003773/0.7231, allocations: 279.2 kB / 1.099 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.7233, allocations: 418.7 kB / 1.1 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009165/0.7242, allocations: 0.6206 MB / 1.1 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.7255, allocations: 1.193 MB / 1.102 GB, free: 9.699 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002133/0.7276, allocations: 1.856 MB / 1.103 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/0.7276, allocations: 4 kB / 1.103 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003081/0.7307, allocations: 2.023 MB / 1.105 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.997e-05/0.7308, allocations: 12 kB / 1.105 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.736e-05/0.7308, allocations: 23.94 kB / 1.105 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004433/0.7313, allocations: 159.3 kB / 1.106 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.7324, allocations: 347.5 kB / 1.106 GB, free: 4.984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.894e-05/0.7324, allocations: 43.86 kB / 1.106 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009337/0.7334, allocations: 119.7 kB / 1.106 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.7335, allocations: 71.98 kB / 1.106 GB, free: 4.754 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.00129/0.7348, allocations: 0.9771 MB / 1.107 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002576/0.7351, allocations: 114.6 kB / 1.107 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002067/0.7371, allocations: 1.233 MB / 1.108 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.7372, allocations: 8 kB / 1.108 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.7372, allocations: 0 / 1.108 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.7372, allocations: 7.984 kB / 1.108 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005662/0.7428, allocations: 3.804 MB / 1.112 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.789e-06/0.7429, allocations: 7.984 kB / 1.112 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005898/0.7435, allocations: 160 kB / 1.112 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003411/0.7438, allocations: 139.3 kB / 1.112 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/0.7439, allocations: 16 kB / 1.112 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/0.7439, allocations: 15.88 kB / 1.112 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.7439, allocations: 0 / 1.112 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.7458, allocations: 1.468 MB / 1.114 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004112/0.7462, allocations: 271.8 kB / 1.114 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.7464, allocations: 19.91 kB / 1.114 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006227/0.747, allocations: 67.89 kB / 1.114 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.7472, allocations: 60.44 kB / 1.114 GB, free: 12.13 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.7472, allocations: 23.98 kB / 1.114 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0009/0.7481, allocations: 0.6953 MB / 1.115 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7481, allocations: 0 / 1.115 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001357/0.7495, allocations: 388 kB / 1.115 GB, free: 11.02 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.00218/0.7517, allocations: 2.038 MB / 1.117 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002897/0.7546, allocations: 2.008 MB / 1.119 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7546, allocations: 448 / 1.119 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0009168/0.7555, allocations: 0.8658 MB / 1.12 GB, free: 5.875 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.757, allocations: 279.4 kB / 1.12 GB, free: 5.609 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01788/0.7749, allocations: 13.33 MB / 1.133 GB, free: 7.418 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001883/0.7768, allocations: 1.916 MB / 1.135 GB, free: 5.469 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001124/0.778, allocations: 453.6 kB / 1.136 GB, free: 5.023 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008566/0.7788, allocations: 0.7063 MB / 1.136 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of SimCode: time 7.62e-07/0.7789, allocations: 0 / 1.136 GB, free: 4.316 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.895/2.674, allocations: 27.3 MB / 1.163 GB, free: 9.328 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.28/16.95, allocations: 8.484 kB / 1.163 GB, free: 9.32 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