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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0008852/0.0008854, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005295/0.005295, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.255/1.255, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.106/2.106, allocations: 390.9 MB / 0.6664 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003189/0.0003188, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5284/0.5288, allocations: 142.4 MB / 0.9552 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.003652/0.5325, allocations: 4.52 MB / 0.9596 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002558/0.535, allocations: 2.467 MB / 0.962 GB, free: 2.172 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.5352, allocations: 21.12 kB / 0.962 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001874/0.5354, allocations: 88.38 kB / 0.9621 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006238/0.536, allocations: 417.4 kB / 0.9625 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.5366, allocations: 366 kB / 0.9628 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008028/0.5374, allocations: 1.138 MB / 0.964 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005517/0.538, allocations: 464.4 kB / 0.9644 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002732/0.5382, allocations: 295.2 kB / 0.9647 GB, free: 388 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000313/0.5386, allocations: 336.7 kB / 0.965 GB, free: 188 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.5386, allocations: 19.03 kB / 0.965 GB, free: 188 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005669/0.5392, allocations: 495 kB / 0.9655 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.5393, allocations: 171 kB / 0.9657 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000233/0.5396, allocations: 321.2 kB / 0.966 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007644/0.5404, allocations: 0.8846 MB / 0.9668 GB, free: 15 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.5404, allocations: 1.344 kB / 0.9668 GB, free: 15 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5404, allocations: 0 / 0.9668 GB, free: 15 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.5404, allocations: 0 / 0.9668 GB, free: 15 MB / 0.7325 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.001076/0.5415, allocations: 0.8338 MB / 0.9676 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.5415, allocations: 9.438 kB / 0.9677 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.437e-05/0.5416, allocations: 93.97 kB / 0.9677 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.5428, allocations: 201.3 kB / 0.9679 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006126/0.5434, allocations: 0.5019 MB / 0.9684 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.5434, allocations: 34.55 kB / 0.9685 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.215e-05/0.5435, allocations: 41.88 kB / 0.9685 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009823/0.5445, allocations: 0.8475 MB / 0.9693 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.5445, allocations: 11.8 kB / 0.9693 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.168e-05/0.5446, allocations: 27.67 kB / 0.9694 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.311e-05/0.5447, allocations: 70.14 kB / 0.9694 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007857/0.5455, allocations: 0.5603 MB / 0.97 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003615/0.5491, allocations: 5.652 MB / 0.9755 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.5497, allocations: 455.7 kB / 0.9759 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002878/0.55, allocations: 224.2 kB / 0.9761 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.55, allocations: 3.062 kB / 0.9761 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/0.55, allocations: 35.56 kB / 0.9762 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 1.333e-06/0.55, allocations: 1.094 kB / 0.9762 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002227/0.5523, allocations: 1.523 MB / 0.9777 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.5523, allocations: 55.75 kB / 0.9777 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000437/0.5528, allocations: 0.5007 MB / 0.9782 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.5528, allocations: 36.2 kB / 0.9782 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.553, allocations: 354.9 kB / 0.9786 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.763e-05/0.5531, allocations: 122.6 kB / 0.9787 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.243e-05/0.5531, allocations: 50.72 kB / 0.9788 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5533, allocations: 368.1 kB / 0.9791 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.5535, allocations: 198 kB / 0.9793 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003793/0.5539, allocations: 444.6 kB / 0.9797 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007018/0.5546, allocations: 0.6935 MB / 0.9804 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.5546, allocations: 1.312 kB / 0.9804 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001099/0.5557, allocations: 0.8052 MB / 0.9812 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5558, allocations: 12.86 kB / 0.9812 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.5558, allocations: 7.906 kB / 0.9812 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000417/0.5562, allocations: 162.1 kB / 0.9814 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.5566, allocations: 117.8 kB / 0.9815 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/0.5591, allocations: 4.044 MB / 0.9854 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003106/0.5595, allocations: 33.47 kB / 0.9854 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.42e-05/0.5595, allocations: 27 kB / 0.9855 GB, free: 14.64 MB / 0.7481 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.0001963/0.5597, allocations: 214.3 kB / 0.9857 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.651e-05/0.5598, allocations: 66.45 kB / 0.9857 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009115/0.5607, allocations: 0.6072 MB / 0.9863 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.5607, allocations: 4 kB / 0.9863 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5607, allocations: 3.938 kB / 0.9863 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5607, allocations: 8 kB / 0.9864 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001496/0.5622, allocations: 1.261 MB / 0.9876 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5623, allocations: 0 / 0.9876 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.5625, allocations: 51.95 kB / 0.9876 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003461/0.5628, allocations: 140.1 kB / 0.9878 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.098e-05/0.5629, allocations: 12.12 kB / 0.9878 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/0.5653, allocations: 4.024 MB / 0.9917 GB, free: 7.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5653, allocations: 3.938 kB / 0.9917 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000823/0.5661, allocations: 0.7119 MB / 0.9924 GB, free: 7.07 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.5663, allocations: 172.2 kB / 0.9926 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.5664, allocations: 15.92 kB / 0.9926 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.5666, allocations: 23.97 kB / 0.9926 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.5667, allocations: 23.97 kB / 0.9926 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.5667, allocations: 8 kB / 0.9926 GB, free: 6.812 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002842/0.567, allocations: 342.8 kB / 0.993 GB, free: 6.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.567, allocations: 0 / 0.993 GB, free: 6.48 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005163/0.5675, allocations: 144 kB / 0.9931 GB, free: 6.34 MB / 0.7481 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.001049/0.5686, allocations: 1.265 MB / 0.9943 GB, free: 5.012 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001125/0.5697, allocations: 1.04 MB / 0.9954 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5697, allocations: 0 / 0.9954 GB, free: 3.891 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007065/0.5704, allocations: 0.7346 MB / 0.9961 GB, free: 3.074 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009841/0.5714, allocations: 189.4 kB / 0.9963 GB, free: 2.891 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/0.5768, allocations: 5.474 MB / 1.002 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.5772, allocations: 0.9098 MB / 1.002 GB, free: 12.09 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002768/0.5774, allocations: 113.3 kB / 1.003 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002044/0.5776, allocations: 195.4 kB / 1.003 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of SimCode: time 3.1e-07/0.5776, allocations: 0 / 1.003 GB, free: 11.79 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.949/5.527, allocations: 12.16 MB / 1.015 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/5.527, allocations: 240.5 kB / 1.015 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.36/7.887, allocations: 0 / 1.015 GB, free: 15.68 MB / 0.7794 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