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.001997/0.001997, allocations: 108 kB / 15.61 MB, free: 152 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.002338/0.002337, allocations: 197.9 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.64/1.64, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.842/2.842, allocations: 437 MB / 0.7104 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 59.91 kB / 0.8692 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7834/0.7856, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.007503/0.7932, allocations: 4.274 MB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004629/0.7978, allocations: 2.377 MB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004374/0.7983, allocations: 19.81 kB / 1.024 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.7997, allocations: 370.3 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001175/0.8009, allocations: 374.1 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009548/0.8019, allocations: 315.2 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.8029, allocations: 0.6789 MB / 1.025 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005639/0.8035, allocations: 267.2 kB / 1.026 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005702/0.8041, allocations: 255 kB / 1.026 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005286/0.8046, allocations: 262.9 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.339e-05/0.8047, allocations: 28 kB / 1.026 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009103/0.8056, allocations: 435 kB / 1.027 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002109/0.8058, allocations: 143.5 kB / 1.027 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003498/0.8062, allocations: 238.6 kB / 1.027 GB, free: 8.449 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.8075, allocations: 0.7223 MB / 1.028 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.8075, allocations: 4 kB / 1.028 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8075, allocations: 0 / 1.028 GB, free: 7.723 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.461e-05/0.8075, allocations: 0 / 1.028 GB, free: 7.723 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.001804/0.8093, allocations: 0.7909 MB / 1.029 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.8094, allocations: 12.03 kB / 1.029 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.811, allocations: 184.1 kB / 1.029 GB, free: 6.691 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007451/0.8117, allocations: 404.5 kB / 1.029 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/0.8118, allocations: 29.3 kB / 1.029 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.724e-05/0.8119, allocations: 32.38 kB / 1.029 GB, free: 6.195 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001041/0.8129, allocations: 0.6549 MB / 1.03 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.406e-05/0.8129, allocations: 4 kB / 1.03 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/0.813, allocations: 12 kB / 1.03 GB, free: 5.438 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/0.8131, allocations: 59.89 kB / 1.03 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008148/0.8139, allocations: 0.4915 MB / 1.03 GB, free: 4.887 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003854/0.8178, allocations: 3.794 MB / 1.034 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.8196, allocations: 0.6283 MB / 1.035 GB, free: 180 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002765/0.8198, allocations: 178.5 kB / 1.035 GB, free: 15.99 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.8199, allocations: 7.938 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.375e-05/0.8199, allocations: 38.55 kB / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 2.655e-06/0.8199, allocations: 0 / 1.035 GB, free: 15.94 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.002396/0.8223, allocations: 1.277 MB / 1.036 GB, free: 14.59 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.909e-05/0.8224, allocations: 110.8 kB / 1.036 GB, free: 14.45 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004416/0.8229, allocations: 398.1 kB / 1.037 GB, free: 14.06 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.933e-05/0.8229, allocations: 29.7 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/0.8231, allocations: 291.4 kB / 1.037 GB, free: 13.73 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.8232, allocations: 118.3 kB / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.8234, allocations: 98.06 kB / 1.037 GB, free: 13.51 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001758/0.8236, allocations: 354.8 kB / 1.037 GB, free: 13.15 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002728/0.8238, allocations: 181 kB / 1.038 GB, free: 12.98 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000438/0.8243, allocations: 375.2 kB / 1.038 GB, free: 12.52 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007723/0.8251, allocations: 0.5754 MB / 1.039 GB, free: 11.86 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.8251, allocations: 7.938 kB / 1.039 GB, free: 11.85 MB / 0.795 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0012/0.8263, allocations: 0.6792 MB / 1.039 GB, free: 11.15 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.8263, allocations: 8 kB / 1.039 GB, free: 11.14 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.8263, allocations: 8 kB / 1.039 GB, free: 11.14 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003895/0.8267, allocations: 98.38 kB / 1.039 GB, free: 11.03 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.8272, allocations: 111.8 kB / 1.039 GB, free: 10.92 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004014/0.8312, allocations: 4.352 MB / 1.044 GB, free: 6.145 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.8316, allocations: 27.98 kB / 1.044 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.8316, allocations: 27.98 kB / 1.044 GB, free: 6.09 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.0003629/0.832, allocations: 201.7 kB / 1.044 GB, free: 5.883 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.8321, allocations: 47.44 kB / 1.044 GB, free: 5.836 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.8331, allocations: 0.5146 MB / 1.044 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.8331, allocations: 7.938 kB / 1.045 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.8331, allocations: 0 / 1.045 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.8331, allocations: 0 / 1.045 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002005/0.8352, allocations: 1.287 MB / 1.046 GB, free: 3.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/0.8352, allocations: 4 kB / 1.046 GB, free: 3.906 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002397/0.8354, allocations: 59.91 kB / 1.046 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002714/0.8357, allocations: 86.78 kB / 1.046 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/0.8357, allocations: 12 kB / 1.046 GB, free: 3.742 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004287/0.84, allocations: 4.345 MB / 1.05 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.8401, allocations: 8.875 kB / 1.05 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.8414, allocations: 0.7776 MB / 1.051 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002579/0.8416, allocations: 160.4 kB / 1.051 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.233e-05/0.8417, allocations: 8 kB / 1.051 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.842, allocations: 23.98 kB / 1.051 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.974e-05/0.8421, allocations: 39.83 kB / 1.051 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.315e-05/0.8421, allocations: 8 kB / 1.051 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003626/0.8425, allocations: 283.1 kB / 1.051 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8425, allocations: 0 / 1.051 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0007592/0.8433, allocations: 124 kB / 1.052 GB, free: 13.49 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.0001663/0.8435, allocations: 111.2 kB / 1.052 GB, free: 13.37 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001331/0.8448, allocations: 0.8257 MB / 1.052 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.8448, allocations: 4 kB / 1.052 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007343/0.8456, allocations: 0.543 MB / 1.053 GB, free: 11.92 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009592/0.8465, allocations: 144.2 kB / 1.053 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.8484, allocations: 0.9111 MB / 1.054 GB, free: 10.81 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005987/0.849, allocations: 0.8663 MB / 1.055 GB, free: 9.922 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002818/0.8493, allocations: 104.5 kB / 1.055 GB, free: 9.816 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.8494, allocations: 39.42 kB / 1.055 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.8494, allocations: 0 / 1.055 GB, free: 9.777 MB / 0.8106 GB Notification: Performance of Templates: time 0.01275/0.8622, allocations: 5.761 MB / 1.061 GB, free: 4.074 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=400 -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