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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.00184/0.001841, allocations: 92 kB / 15.06 MB, free: 1.098 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.002134/0.002134, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.908/2.908, allocations: 437.7 MB / 0.7117 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003658/0.000366, allocations: 12 kB / 0.8722 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8019/0.8023, allocations: 153.8 MB / 1.022 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.004489/0.8068, allocations: 3.757 MB / 1.026 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003219/0.8101, allocations: 2.207 MB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.8103, allocations: 15.88 kB / 1.028 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002189/0.8105, allocations: 63.44 kB / 1.028 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006397/0.8112, allocations: 290.5 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.8117, allocations: 235.4 kB / 1.029 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000669/0.8124, allocations: 0.7295 MB / 1.03 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007448/0.8131, allocations: 429.9 kB / 1.03 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002938/0.8134, allocations: 223 kB / 1.03 GB, free: 8.09 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003282/0.8138, allocations: 251 kB / 1.03 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.952e-05/0.8138, allocations: 20 kB / 1.03 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003788/0.8142, allocations: 211.7 kB / 1.031 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.8144, allocations: 135.5 kB / 1.031 GB, free: 7.484 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.902e-05/0.8145, allocations: 105.5 kB / 1.031 GB, free: 7.375 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005446/0.815, allocations: 0.5279 MB / 1.031 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.815, allocations: 0 / 1.031 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.883e-06/0.815, allocations: 8 kB / 1.031 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.433e-06/0.815, allocations: 0 / 1.031 GB, free: 6.84 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.000959/0.816, allocations: 0.7052 MB / 1.032 GB, free: 6.086 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.8161, allocations: 8.562 kB / 1.032 GB, free: 6.078 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001237/0.8173, allocations: 191.1 kB / 1.032 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005152/0.8178, allocations: 395.5 kB / 1.033 GB, free: 5.469 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.393e-05/0.8179, allocations: 32.95 kB / 1.033 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.89e-05/0.8179, allocations: 31.98 kB / 1.033 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008206/0.8188, allocations: 0.6507 MB / 1.033 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.8188, allocations: 3.938 kB / 1.033 GB, free: 4.656 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.403e-05/0.8188, allocations: 20 kB / 1.033 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.618e-05/0.8189, allocations: 51.91 kB / 1.033 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006775/0.8196, allocations: 499.3 kB / 1.034 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002926/0.8225, allocations: 3.79 MB / 1.038 GB, free: 48 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.8242, allocations: 0.636 MB / 1.038 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002449/0.8244, allocations: 174.5 kB / 1.038 GB, free: 15.2 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.8245, allocations: 0 / 1.038 GB, free: 15.2 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.8245, allocations: 34.56 kB / 1.038 GB, free: 15.16 MB / 0.795 GB Notification: Performance of pre-optimization done (n=30): time 1.272e-06/0.8245, allocations: 0 / 1.038 GB, free: 15.16 MB / 0.795 GB Notification: Performance of matching and sorting (n=33): time 0.00217/0.8267, allocations: 1.284 MB / 1.04 GB, free: 13.8 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.508e-05/0.8268, allocations: 106.8 kB / 1.04 GB, free: 13.67 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000382/0.8271, allocations: 393.8 kB / 1.04 GB, free: 13.28 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.798e-05/0.8272, allocations: 41.69 kB / 1.04 GB, free: 13.23 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.8274, allocations: 283.4 kB / 1.04 GB, free: 12.95 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 9.202e-05/0.8275, allocations: 114.4 kB / 1.041 GB, free: 12.84 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.209e-05/0.8275, allocations: 12 kB / 1.041 GB, free: 12.82 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.8277, allocations: 350.8 kB / 1.041 GB, free: 12.47 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.8279, allocations: 173 kB / 1.041 GB, free: 12.3 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003648/0.8283, allocations: 383.2 kB / 1.041 GB, free: 11.84 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.8286, allocations: 236 kB / 1.042 GB, free: 11.61 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.8286, allocations: 4 kB / 1.042 GB, free: 11.61 MB / 0.795 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0009725/0.8296, allocations: 0.659 MB / 1.042 GB, free: 10.93 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.8296, allocations: 15.89 kB / 1.042 GB, free: 10.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.113e-05/0.8296, allocations: 8 kB / 1.042 GB, free: 10.91 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003323/0.83, allocations: 99.17 kB / 1.042 GB, free: 10.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003477/0.8303, allocations: 115.8 kB / 1.043 GB, free: 10.69 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002889/0.8332, allocations: 4.032 MB / 1.046 GB, free: 6.25 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002736/0.8335, allocations: 27.98 kB / 1.046 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.608e-05/0.8336, allocations: 27.98 kB / 1.046 GB, free: 6.195 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002367/0.8338, allocations: 194.8 kB / 1.047 GB, free: 5.996 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.8339, allocations: 51.39 kB / 1.047 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008378/0.8348, allocations: 0.5154 MB / 1.047 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.8348, allocations: 4 kB / 1.047 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.8348, allocations: 0 / 1.047 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/0.8348, allocations: 3.953 kB / 1.047 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.8365, allocations: 1.287 MB / 1.048 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/0.8365, allocations: 0 / 1.048 GB, free: 4.02 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.8367, allocations: 72.11 kB / 1.049 GB, free: 3.949 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002283/0.837, allocations: 86.52 kB / 1.049 GB, free: 3.855 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.837, allocations: 8 kB / 1.049 GB, free: 3.848 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002859/0.8399, allocations: 4.044 MB / 1.053 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8399, allocations: 0 / 1.053 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008752/0.8408, allocations: 0.7669 MB / 1.053 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001899/0.841, allocations: 160.4 kB / 1.054 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.929e-05/0.841, allocations: 16 kB / 1.054 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002713/0.8413, allocations: 19.97 kB / 1.054 GB, free: 14.37 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.653e-05/0.8414, allocations: 35.86 kB / 1.054 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.8414, allocations: 8 kB / 1.054 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003102/0.8417, allocations: 283.1 kB / 1.054 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8417, allocations: 4 kB / 1.054 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000704/0.8425, allocations: 120 kB / 1.054 GB, free: 13.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001537/0.8426, allocations: 111.2 kB / 1.054 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.8438, allocations: 0.7896 MB / 1.055 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.8438, allocations: 5.062 kB / 1.055 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006785/0.8445, allocations: 0.559 MB / 1.055 GB, free: 12.39 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008478/0.8454, allocations: 116 kB / 1.056 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.8468, allocations: 1.07 MB / 1.057 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003965/0.8472, allocations: 0.8625 MB / 1.057 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002721/0.8474, allocations: 104.4 kB / 1.057 GB, free: 10.16 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.864e-05/0.8476, allocations: 39.42 kB / 1.058 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.8476, allocations: 0 / 1.058 GB, free: 10.12 MB / 0.8106 GB Notification: Performance of Templates: time 0.01/0.8576, allocations: 5.301 MB / 1.063 GB, free: 4.871 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