Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_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.007805/0.007806, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.001849/0.001849, allocations: 196.4 kB / 16.68 MB, free: 5.957 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.17/2.17, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001204, allocations: 63.89 kB / 0.9504 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.795/0.7962, allocations: 140.4 MB / 1.087 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005377/0.8017, allocations: 4.903 MB / 1.092 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003563/0.8052, allocations: 2.484 MB / 1.095 GB, free: 192 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004159/0.8057, allocations: 24.47 kB / 1.095 GB, free: 180 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001247/0.807, allocations: 401.7 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.8083, allocations: 448 kB / 1.096 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001215/0.8096, allocations: 395.5 kB / 1.096 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00122/0.8108, allocations: 0.9231 MB / 1.097 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006345/0.8114, allocations: 361.2 kB / 1.097 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006537/0.8121, allocations: 346.3 kB / 1.097 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006063/0.8127, allocations: 348.2 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 7.104e-05/0.8128, allocations: 38.31 kB / 1.098 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008402/0.8137, allocations: 410.2 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002179/0.8139, allocations: 180 kB / 1.098 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.8142, allocations: 318.3 kB / 1.099 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.8155, allocations: 0.8821 MB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.8155, allocations: 5.156 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.664e-06/0.8155, allocations: 0 / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.8156, allocations: 4 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001499/0.8171, allocations: 0.9448 MB / 1.1 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.8171, allocations: 9.703 kB / 1.1 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.8172, allocations: 102.2 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.8185, allocations: 206 kB / 1.101 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/0.8196, allocations: 0.545 MB / 1.101 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.8196, allocations: 30.94 kB / 1.101 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.8197, allocations: 45.95 kB / 1.101 GB, free: 12.66 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001395/0.8211, allocations: 0.8523 MB / 1.102 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.8212, allocations: 11.55 kB / 1.102 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/0.8213, allocations: 24.39 kB / 1.102 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001223/0.8214, allocations: 70.03 kB / 1.102 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001168/0.8226, allocations: 0.5637 MB / 1.103 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004506/0.8271, allocations: 5.648 MB / 1.108 GB, free: 6.715 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/0.8277, allocations: 451 kB / 1.109 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002993/0.828, allocations: 233 kB / 1.109 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.828, allocations: 2.531 kB / 1.109 GB, free: 6.457 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.906e-05/0.8281, allocations: 32.09 kB / 1.109 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=32): time 1.703e-06/0.8281, allocations: 1.219 kB / 1.109 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002469/0.8306, allocations: 1.512 MB / 1.111 GB, free: 5.473 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.8306, allocations: 55.05 kB / 1.111 GB, free: 5.41 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005271/0.8311, allocations: 0.5013 MB / 1.111 GB, free: 5.172 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.8312, allocations: 30.8 kB / 1.111 GB, free: 5.137 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.8314, allocations: 358.3 kB / 1.111 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.04e-05/0.8315, allocations: 117.7 kB / 1.112 GB, free: 4.758 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.8316, allocations: 111.9 kB / 1.112 GB, free: 4.695 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.8318, allocations: 369.2 kB / 1.112 GB, free: 4.355 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002781/0.8321, allocations: 196.6 kB / 1.112 GB, free: 4.289 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004255/0.8325, allocations: 451.5 kB / 1.113 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007374/0.8332, allocations: 0.6878 MB / 1.113 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.8333, allocations: 2.188 kB / 1.113 GB, free: 3.367 MB / 0.8731 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001213/0.8345, allocations: 0.8054 MB / 1.114 GB, free: 3.012 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.8345, allocations: 13.72 kB / 1.114 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/0.8345, allocations: 9.219 kB / 1.114 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004775/0.835, allocations: 159.7 kB / 1.114 GB, free: 2.934 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000441/0.8355, allocations: 122.6 kB / 1.114 GB, free: 2.922 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003127/0.8386, allocations: 4.349 MB / 1.119 GB, free: 14.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000395/0.839, allocations: 33.41 kB / 1.119 GB, free: 14.63 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.8391, allocations: 31.78 kB / 1.119 GB, free: 14.62 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.0002548/0.8393, allocations: 211.9 kB / 1.119 GB, free: 14.45 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/0.8394, allocations: 61.59 kB / 1.119 GB, free: 14.42 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001003/0.8404, allocations: 0.6082 MB / 1.12 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.8404, allocations: 3.156 kB / 1.12 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.8404, allocations: 1.125 kB / 1.12 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.8405, allocations: 2.25 kB / 1.12 GB, free: 14.14 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001829/0.8423, allocations: 1.261 MB / 1.121 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.8423, allocations: 2.375 kB / 1.121 GB, free: 13.43 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.8426, allocations: 58.19 kB / 1.121 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003905/0.843, allocations: 139.1 kB / 1.121 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.843, allocations: 16.12 kB / 1.121 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002858/0.8459, allocations: 4.337 MB / 1.125 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.8459, allocations: 2.531 kB / 1.125 GB, free: 9.066 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009726/0.8469, allocations: 0.7188 MB / 1.126 GB, free: 8.637 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002541/0.8471, allocations: 166.4 kB / 1.126 GB, free: 8.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.883e-05/0.8472, allocations: 8.953 kB / 1.126 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.8475, allocations: 22.28 kB / 1.126 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.8475, allocations: 31.19 kB / 1.126 GB, free: 8.484 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/0.8476, allocations: 16.36 kB / 1.126 GB, free: 8.477 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000386/0.848, allocations: 339.6 kB / 1.127 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.41e-07/0.848, allocations: 3.938 kB / 1.127 GB, free: 8.32 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0006735/0.8486, allocations: 142 kB / 1.127 GB, free: 8.305 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems 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.001202/0.8499, allocations: 1.253 MB / 1.128 GB, free: 7.355 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001376/0.8512, allocations: 1.04 MB / 1.129 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8513, allocations: 0 / 1.129 GB, free: 6.633 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008019/0.8521, allocations: 0.7397 MB / 1.13 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00099/0.8531, allocations: 209.7 kB / 1.13 GB, free: 5.941 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006419/0.8595, allocations: 5.133 MB / 1.135 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005395/0.8601, allocations: 0.9099 MB / 1.136 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004205/0.8605, allocations: 122.7 kB / 1.136 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/0.8607, allocations: 191.1 kB / 1.136 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of SimCode: time 9.32e-07/0.8608, allocations: 0 / 1.136 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05857/0.9193, allocations: 13.09 MB / 1.149 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.54, allocations: 1.562 kB / 1.149 GB, free: 15.69 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches