Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Za.i.1.|Za.i.2.|Zb.i.1.|Zb.i.2.|Zc.i.1.|Zc.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002508/0.002508, allocations: 196.7 kB / 16.14 MB, free: 6.711 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.385/1.385, allocations: 222.9 MB / 239.8 MB, free: 4.543 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.784/2.784, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.89 kB / 0.8685 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7875/0.7888, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007119/0.796, allocations: 4.324 MB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004257/0.8003, allocations: 2.389 MB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002635/0.8006, allocations: 19.81 kB / 1.023 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.8017, allocations: 338.7 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009046/0.8027, allocations: 350.4 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008115/0.8035, allocations: 295 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0008675/0.8044, allocations: 0.866 MB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000612/0.805, allocations: 257.9 kB / 1.025 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000363/0.8054, allocations: 234.9 kB / 1.025 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003851/0.8057, allocations: 262.9 kB / 1.026 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/0.8058, allocations: 20 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009306/0.8067, allocations: 0.534 MB / 1.026 GB, free: 8.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.8069, allocations: 127.6 kB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.8071, allocations: 234.6 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009593/0.8081, allocations: 0.7533 MB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.8081, allocations: 0 / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.8081, allocations: 0 / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.8081, allocations: 0 / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001415/0.8096, allocations: 0.7832 MB / 1.028 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.8096, allocations: 12.02 kB / 1.028 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.811, allocations: 184.1 kB / 1.028 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006219/0.8116, allocations: 412.4 kB / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.8117, allocations: 21.38 kB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/0.8118, allocations: 36.36 kB / 1.029 GB, free: 6.297 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000967/0.8127, allocations: 0.651 MB / 1.029 GB, free: 5.555 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.673e-05/0.8128, allocations: 4 kB / 1.029 GB, free: 5.551 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.8128, allocations: 15.98 kB / 1.029 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.834e-05/0.8129, allocations: 55.84 kB / 1.029 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007235/0.8136, allocations: 0.4916 MB / 1.03 GB, free: 4.988 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003864/0.8175, allocations: 3.79 MB / 1.034 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001742/0.8193, allocations: 0.636 MB / 1.034 GB, free: 280 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000249/0.8195, allocations: 178.4 kB / 1.034 GB, free: 92 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.8196, allocations: 7.984 kB / 1.034 GB, free: 84 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.8196, allocations: 34.56 kB / 1.034 GB, free: 40 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 2.625e-06/0.8196, allocations: 0 / 1.034 GB, free: 40 kB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.002552/0.8222, allocations: 1.281 MB / 1.036 GB, free: 14.68 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.8223, allocations: 106.8 kB / 1.036 GB, free: 14.55 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.8227, allocations: 405.7 kB / 1.036 GB, free: 14.15 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.8227, allocations: 29.7 kB / 1.036 GB, free: 14.12 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.8229, allocations: 283.4 kB / 1.036 GB, free: 13.83 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.777e-05/0.823, allocations: 114.4 kB / 1.037 GB, free: 13.72 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.8232, allocations: 102.1 kB / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001645/0.8234, allocations: 354.8 kB / 1.037 GB, free: 13.25 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002744/0.8236, allocations: 177 kB / 1.037 GB, free: 13.08 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.8241, allocations: 379.2 kB / 1.038 GB, free: 12.62 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007051/0.8248, allocations: 0.5832 MB / 1.038 GB, free: 11.95 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.8248, allocations: 8.219 kB / 1.038 GB, free: 11.94 MB / 0.795 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001086/0.8259, allocations: 0.6752 MB / 1.039 GB, free: 11.25 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.8259, allocations: 10.03 kB / 1.039 GB, free: 11.24 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.826, allocations: 11.94 kB / 1.039 GB, free: 11.23 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003507/0.8263, allocations: 98.78 kB / 1.039 GB, free: 11.12 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004315/0.8268, allocations: 115.8 kB / 1.039 GB, free: 11.01 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004636/0.8314, allocations: 4.032 MB / 1.043 GB, free: 6.574 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.8319, allocations: 31.98 kB / 1.043 GB, free: 6.543 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/0.832, allocations: 27.98 kB / 1.043 GB, free: 6.516 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0003926/0.8324, allocations: 199.8 kB / 1.043 GB, free: 6.312 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.8325, allocations: 47.44 kB / 1.043 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.8337, allocations: 0.5185 MB / 1.044 GB, free: 5.727 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.8337, allocations: 8 kB / 1.044 GB, free: 5.719 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.8337, allocations: 0 / 1.044 GB, free: 5.719 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.8338, allocations: 4 kB / 1.044 GB, free: 5.715 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.836, allocations: 1.276 MB / 1.045 GB, free: 4.344 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.565e-06/0.836, allocations: 4 kB / 1.045 GB, free: 4.34 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.8362, allocations: 63.89 kB / 1.045 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003023/0.8366, allocations: 86.8 kB / 1.045 GB, free: 4.184 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.905e-05/0.8366, allocations: 12 kB / 1.045 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004623/0.8412, allocations: 4.036 MB / 1.049 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.8412, allocations: 4.031 kB / 1.049 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.8425, allocations: 0.7714 MB / 1.05 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002198/0.8427, allocations: 152.5 kB / 1.05 GB, free: 14.73 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.843e-05/0.8428, allocations: 23.81 kB / 1.05 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.8431, allocations: 23.97 kB / 1.05 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.8432, allocations: 35.91 kB / 1.05 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.8432, allocations: 8 kB / 1.05 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003457/0.8435, allocations: 283.1 kB / 1.05 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8435, allocations: 0 / 1.05 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008329/0.8444, allocations: 120 kB / 1.05 GB, free: 14.26 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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.0001923/0.8446, allocations: 123.1 kB / 1.051 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.8459, allocations: 0.8022 MB / 1.051 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/0.8459, allocations: 0 / 1.051 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008829/0.8468, allocations: 0.5475 MB / 1.052 GB, free: 12.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009256/0.8477, allocations: 127.3 kB / 1.052 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.8495, allocations: 1.089 MB / 1.053 GB, free: 11.43 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000532/0.85, allocations: 0.8625 MB / 1.054 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002952/0.8503, allocations: 100.5 kB / 1.054 GB, free: 10.45 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.8505, allocations: 35.42 kB / 1.054 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of SimCode: time 9.22e-07/0.8505, allocations: 0 / 1.054 GB, free: 10.41 MB / 0.8106 GB Notification: Performance of Templates: time 0.01181/0.8623, allocations: 5.542 MB / 1.059 GB, free: 4.918 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches