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.001881/0.001881, allocations: 110.6 kB / 15.99 MB, free: 6.367 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.002077/0.002077, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.428/1.428, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.649/2.649, allocations: 437.1 MB / 0.7107 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001958, allocations: 68.77 kB / 0.8694 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3651, allocations: 151.6 MB / 1.017 GB, free: 10.99 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006632/0.3718, allocations: 4.316 MB / 1.022 GB, free: 6.652 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004019/0.3759, allocations: 2.358 MB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002742/0.3762, allocations: 15.88 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001153/0.3774, allocations: 350.7 kB / 1.024 GB, free: 3.926 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0009499/0.3784, allocations: 342.5 kB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008372/0.3792, allocations: 287.4 kB / 1.025 GB, free: 3.309 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0008637/0.3801, allocations: 0.6866 MB / 1.026 GB, free: 2.617 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000572/0.3807, allocations: 286 kB / 1.026 GB, free: 2.336 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003911/0.3811, allocations: 262.9 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.3815, allocations: 274.9 kB / 1.026 GB, free: 1.809 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 5.5e-05/0.3816, allocations: 35.94 kB / 1.026 GB, free: 1.773 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000811/0.3824, allocations: 431 kB / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001886/0.3826, allocations: 139.6 kB / 1.027 GB, free: 1.215 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002655/0.3829, allocations: 238.6 kB / 1.027 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008747/0.3838, allocations: 0.5575 MB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.3838, allocations: 0 / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of FrontEnd: time 2.575e-06/0.3838, allocations: 3.938 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.3838, allocations: 0 / 1.028 GB, free: 428 kB / 0.795 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.001393/0.3852, allocations: 0.7871 MB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3853, allocations: 8.031 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/0.3867, allocations: 180.1 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006553/0.3873, allocations: 408.5 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.884e-05/0.3874, allocations: 21.38 kB / 1.029 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.742e-05/0.3874, allocations: 40.34 kB / 1.029 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.3885, allocations: 0.651 MB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.3885, allocations: 8 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.953e-05/0.3886, allocations: 15.98 kB / 1.03 GB, free: 14.13 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-05/0.3887, allocations: 59.84 kB / 1.03 GB, free: 14.07 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007865/0.3895, allocations: 496.4 kB / 1.03 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00377/0.3932, allocations: 3.794 MB / 1.034 GB, free: 9.535 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/0.3951, allocations: 0.6322 MB / 1.035 GB, free: 8.875 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003172/0.3954, allocations: 182.5 kB / 1.035 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.3955, allocations: 7.938 kB / 1.035 GB, free: 8.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.3955, allocations: 38.56 kB / 1.035 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 2.083e-06/0.3955, allocations: 0 / 1.035 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33): time 0.002505/0.398, allocations: 1.28 MB / 1.036 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.193e-05/0.3981, allocations: 110.8 kB / 1.036 GB, free: 7.145 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004589/0.3986, allocations: 401.8 kB / 1.037 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.3986, allocations: 29.7 kB / 1.037 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00022/0.3988, allocations: 279.5 kB / 1.037 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.399, allocations: 110.4 kB / 1.037 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.3991, allocations: 110 kB / 1.037 GB, free: 6.203 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3993, allocations: 350.8 kB / 1.037 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.3996, allocations: 177 kB / 1.038 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004382/0.4, allocations: 379.7 kB / 1.038 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007843/0.4008, allocations: 0.5873 MB / 1.039 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.4008, allocations: 7.938 kB / 1.039 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00118/0.402, allocations: 0.663 MB / 1.039 GB, free: 3.855 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.4021, allocations: 8.781 kB / 1.039 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/0.4021, allocations: 11.98 kB / 1.039 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004005/0.4025, allocations: 102.4 kB / 1.039 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/0.4029, allocations: 113.2 kB / 1.039 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00401/0.407, allocations: 4.352 MB / 1.044 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/0.4074, allocations: 27.97 kB / 1.044 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.4075, allocations: 24 kB / 1.044 GB, free: 14.79 MB / 0.8262 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.0002889/0.4078, allocations: 201.5 kB / 1.044 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.4079, allocations: 43.53 kB / 1.044 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009654/0.4089, allocations: 0.5147 MB / 1.044 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.4089, allocations: 8 kB / 1.045 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.4089, allocations: 0 / 1.045 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.4089, allocations: 3.984 kB / 1.045 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.4109, allocations: 1.287 MB / 1.046 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.4109, allocations: 4 kB / 1.046 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.4111, allocations: 59.89 kB / 1.046 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003118/0.4115, allocations: 94.8 kB / 1.046 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.741e-05/0.4115, allocations: 11.98 kB / 1.046 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003778/0.4153, allocations: 4.345 MB / 1.05 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.4153, allocations: 8.156 kB / 1.05 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.4164, allocations: 0.7774 MB / 1.051 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000241/0.4166, allocations: 156.5 kB / 1.051 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.4167, allocations: 11.94 kB / 1.051 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003151/0.417, allocations: 23.97 kB / 1.051 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.506e-05/0.4171, allocations: 35.84 kB / 1.051 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.636e-05/0.4171, allocations: 16 kB / 1.051 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003461/0.4175, allocations: 275.1 kB / 1.051 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4175, allocations: 0 / 1.051 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007691/0.4183, allocations: 124 kB / 1.052 GB, free: 6.188 MB / 0.8262 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.0001704/0.4185, allocations: 115.7 kB / 1.052 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001411/0.4199, allocations: 0.8209 MB / 1.052 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.4199, allocations: 0 / 1.052 GB, free: 5.207 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007915/0.4207, allocations: 0.5595 MB / 1.053 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000944/0.4216, allocations: 132.2 kB / 1.053 GB, free: 4.48 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.4234, allocations: 1.121 MB / 1.054 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.4239, allocations: 0.8662 MB / 1.055 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.4241, allocations: 47.42 kB / 1.055 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of SimCode: time 6.81e-07/0.4241, allocations: 0 / 1.055 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of Templates: time 0.01583/0.4399, allocations: 11.08 MB / 1.066 GB, free: 7.305 MB / 0.8419 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/jenkins1/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