Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: 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_9_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_9_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.008817/0.008817, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.001889/0.001889, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.526/1.526, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.534/2.534, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.19 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3343, allocations: 140.4 MB / 1.088 GB, free: 1.48 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005656/0.34, allocations: 4.284 MB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003655/0.3437, allocations: 2.373 MB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/0.3439, allocations: 19.88 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0009683/0.345, allocations: 366.3 kB / 1.095 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000796/0.3458, allocations: 386.1 kB / 1.095 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007644/0.3465, allocations: 319 kB / 1.095 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006778/0.3472, allocations: 0.6867 MB / 1.096 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000336/0.3476, allocations: 262 kB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003125/0.3479, allocations: 255 kB / 1.097 GB, free: 8.523 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003444/0.3482, allocations: 278.9 kB / 1.097 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.469e-05/0.3483, allocations: 28 kB / 1.097 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007154/0.349, allocations: 431 kB / 1.097 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001595/0.3492, allocations: 147.5 kB / 1.097 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002307/0.3494, allocations: 242.6 kB / 1.098 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008443/0.3503, allocations: 0.7243 MB / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.3503, allocations: 0 / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3503, allocations: 0 / 1.098 GB, free: 6.691 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.3503, allocations: 0 / 1.098 GB, free: 6.691 MB / 0.8575 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.001193/0.3515, allocations: 0.7871 MB / 1.099 GB, free: 5.855 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3516, allocations: 15.97 kB / 1.099 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.3529, allocations: 184.1 kB / 1.099 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005987/0.3535, allocations: 436.5 kB / 1.1 GB, free: 5.199 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.609e-05/0.3535, allocations: 29.36 kB / 1.1 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.73e-05/0.3536, allocations: 36.34 kB / 1.1 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/0.3545, allocations: 0.651 MB / 1.1 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.432e-05/0.3545, allocations: 7.844 kB / 1.1 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.598e-05/0.3546, allocations: 23.97 kB / 1.101 GB, free: 4.359 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.096e-05/0.3546, allocations: 47.97 kB / 1.101 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007014/0.3554, allocations: 0.4915 MB / 1.101 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003159/0.3585, allocations: 3.783 MB / 1.105 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001646/0.3602, allocations: 0.6363 MB / 1.105 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/0.3604, allocations: 178.4 kB / 1.106 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.3605, allocations: 7.906 kB / 1.106 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.3605, allocations: 38.56 kB / 1.106 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 1.693e-06/0.3605, allocations: 0 / 1.106 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of matching and sorting (n=33): time 0.002323/0.3628, allocations: 1.277 MB / 1.107 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.3629, allocations: 110.8 kB / 1.107 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004211/0.3634, allocations: 393.8 kB / 1.107 GB, free: 13 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.3634, allocations: 33.7 kB / 1.107 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.3636, allocations: 287.4 kB / 1.108 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.256e-05/0.3637, allocations: 114.4 kB / 1.108 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001561/0.3639, allocations: 102.1 kB / 1.108 GB, free: 12.45 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.364, allocations: 350.8 kB / 1.108 GB, free: 12.1 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.3643, allocations: 173 kB / 1.108 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004176/0.3647, allocations: 383.7 kB / 1.109 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007339/0.3655, allocations: 0.5792 MB / 1.109 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.3655, allocations: 3.938 kB / 1.109 GB, free: 10.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001061/0.3665, allocations: 0.683 MB / 1.11 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.3666, allocations: 8.281 kB / 1.11 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.3666, allocations: 4 kB / 1.11 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003631/0.367, allocations: 102.4 kB / 1.11 GB, free: 9.969 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000367/0.3673, allocations: 119.7 kB / 1.11 GB, free: 9.852 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003453/0.3708, allocations: 4.336 MB / 1.114 GB, free: 5.09 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.3712, allocations: 31.97 kB / 1.114 GB, free: 5.059 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.3713, allocations: 24 kB / 1.114 GB, free: 5.035 MB / 0.8731 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.0002426/0.3715, allocations: 201.5 kB / 1.115 GB, free: 4.828 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.3716, allocations: 47.44 kB / 1.115 GB, free: 4.781 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008613/0.3725, allocations: 0.5225 MB / 1.115 GB, free: 4.242 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.3725, allocations: 4 kB / 1.115 GB, free: 4.238 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.3725, allocations: 4 kB / 1.115 GB, free: 4.234 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.3725, allocations: 3.984 kB / 1.115 GB, free: 4.23 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.3742, allocations: 1.279 MB / 1.116 GB, free: 2.855 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3742, allocations: 4 kB / 1.116 GB, free: 2.852 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.3745, allocations: 60.17 kB / 1.116 GB, free: 2.793 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002768/0.3748, allocations: 90.45 kB / 1.117 GB, free: 2.695 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.769e-05/0.3748, allocations: 15.98 kB / 1.117 GB, free: 2.68 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003212/0.378, allocations: 4.332 MB / 1.121 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.3781, allocations: 7.969 kB / 1.121 GB, free: 13.92 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009736/0.379, allocations: 0.7789 MB / 1.122 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002002/0.3792, allocations: 148.8 kB / 1.122 GB, free: 12.92 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.3793, allocations: 12 kB / 1.122 GB, free: 12.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002824/0.3796, allocations: 23.97 kB / 1.122 GB, free: 12.88 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.826e-05/0.3797, allocations: 39.78 kB / 1.122 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.3797, allocations: 16 kB / 1.122 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003118/0.38, allocations: 275.1 kB / 1.122 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.7e-07/0.38, allocations: 3.938 kB / 1.122 GB, free: 12.56 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000704/0.3807, allocations: 120 kB / 1.122 GB, free: 12.45 MB / 0.8887 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.000161/0.3809, allocations: 123.1 kB / 1.122 GB, free: 12.31 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001258/0.3822, allocations: 0.8026 MB / 1.123 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.3822, allocations: 4 kB / 1.123 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007243/0.3829, allocations: 0.5435 MB / 1.124 GB, free: 10.89 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008546/0.3838, allocations: 136.5 kB / 1.124 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.3853, allocations: 0.9088 MB / 1.125 GB, free: 9.789 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.3858, allocations: 0.8625 MB / 1.126 GB, free: 8.898 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002681/0.3861, allocations: 100.5 kB / 1.126 GB, free: 8.797 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.176e-05/0.3862, allocations: 39.42 kB / 1.126 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of SimCode: time 4.21e-07/0.3862, allocations: 0 / 1.126 GB, free: 8.758 MB / 0.8887 GB Notification: Performance of Templates: time 0.0118/0.398, allocations: 5.852 MB / 1.131 GB, free: 2.961 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches