Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.00661/0.00661, allocations: 101.6 kB / 15.73 MB, free: 6.043 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.001418/0.001418, allocations: 196.2 kB / 16.67 MB, free: 5.977 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.757/2.757, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 68.09 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3234, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006662/0.3301, allocations: 4.296 MB / 1.212 GB, free: 5.328 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004097/0.3342, allocations: 2.365 MB / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004593/0.3347, allocations: 15.88 kB / 1.214 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001282/0.3361, allocations: 382.2 kB / 1.215 GB, free: 2.562 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.3371, allocations: 374.2 kB / 1.215 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000852/0.338, allocations: 320 kB / 1.215 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000948/0.3389, allocations: 0.6789 MB / 1.216 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004957/0.3394, allocations: 266 kB / 1.216 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004623/0.3399, allocations: 259 kB / 1.216 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005104/0.3404, allocations: 262.9 kB / 1.217 GB, free: 436 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.3406, allocations: 31.94 kB / 1.217 GB, free: 404 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008384/0.3414, allocations: 435 kB / 1.217 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.3416, allocations: 139.6 kB / 1.217 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0003057/0.3419, allocations: 242.7 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001211/0.3432, allocations: 0.732 MB / 1.218 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.3432, allocations: 0 / 1.218 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3432, allocations: 3.938 kB / 1.218 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.803e-05/0.3432, allocations: 0 / 1.218 GB, free: 14.86 MB / 0.9825 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.001573/0.3448, allocations: 0.7832 MB / 1.219 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.3449, allocations: 12.03 kB / 1.219 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0015/0.3464, allocations: 184.1 kB / 1.219 GB, free: 13.83 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007191/0.3471, allocations: 436.4 kB / 1.22 GB, free: 13.37 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.216e-05/0.3471, allocations: 33.36 kB / 1.22 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.42e-05/0.3472, allocations: 32.36 kB / 1.22 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009519/0.3482, allocations: 0.6471 MB / 1.22 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.3482, allocations: 11.92 kB / 1.22 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.294e-05/0.3483, allocations: 23.97 kB / 1.22 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.059e-05/0.3484, allocations: 51.97 kB / 1.22 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008036/0.3492, allocations: 499.3 kB / 1.221 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003802/0.353, allocations: 3.779 MB / 1.225 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.3547, allocations: 0.6204 MB / 1.225 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002375/0.3549, allocations: 182.4 kB / 1.225 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.887e-05/0.355, allocations: 4 kB / 1.225 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.355, allocations: 46.5 kB / 1.225 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.355, allocations: 0 / 1.225 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of matching and sorting (n=33): time 0.002489/0.3575, allocations: 1.27 MB / 1.227 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/0.3576, allocations: 114.7 kB / 1.227 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004628/0.3581, allocations: 401.7 kB / 1.227 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.3581, allocations: 29.7 kB / 1.227 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.3583, allocations: 279.5 kB / 1.227 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.3584, allocations: 122.3 kB / 1.227 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.3586, allocations: 98.14 kB / 1.228 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3587, allocations: 358.8 kB / 1.228 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002619/0.359, allocations: 173 kB / 1.228 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003948/0.3594, allocations: 375.7 kB / 1.228 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006986/0.3601, allocations: 0.5913 MB / 1.229 GB, free: 2.973 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.3601, allocations: 3.938 kB / 1.229 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001073/0.3612, allocations: 0.6746 MB / 1.23 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.3612, allocations: 8.812 kB / 1.23 GB, free: 2.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.3612, allocations: 4 kB / 1.23 GB, free: 2.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003503/0.3616, allocations: 106.6 kB / 1.23 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003794/0.362, allocations: 119.7 kB / 1.23 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003441/0.3654, allocations: 4.34 MB / 1.234 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003192/0.3658, allocations: 31.97 kB / 1.234 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.3658, allocations: 24.16 kB / 1.234 GB, free: 13.22 MB / 0.9981 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.0002286/0.3661, allocations: 199.6 kB / 1.234 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.3662, allocations: 47.44 kB / 1.234 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009153/0.3671, allocations: 0.5185 MB / 1.235 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.3671, allocations: 8 kB / 1.235 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.3671, allocations: 4 kB / 1.235 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.3671, allocations: 3.984 kB / 1.235 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.3689, allocations: 1.287 MB / 1.236 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.3689, allocations: 0 / 1.236 GB, free: 11.03 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.3692, allocations: 63.89 kB / 1.236 GB, free: 10.97 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002578/0.3695, allocations: 90.8 kB / 1.236 GB, free: 10.87 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.951e-05/0.3695, allocations: 11.98 kB / 1.236 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003313/0.3728, allocations: 4.336 MB / 1.241 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.3728, allocations: 4.031 kB / 1.241 GB, free: 6.105 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009187/0.3738, allocations: 0.7776 MB / 1.241 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.3739, allocations: 152.5 kB / 1.242 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.398e-05/0.374, allocations: 12.28 kB / 1.242 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.3743, allocations: 19.97 kB / 1.242 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/0.3744, allocations: 35.84 kB / 1.242 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-05/0.3745, allocations: 15.94 kB / 1.242 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003424/0.3748, allocations: 287.1 kB / 1.242 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2e-07/0.3748, allocations: 0 / 1.242 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007072/0.3755, allocations: 124 kB / 1.242 GB, free: 4.617 MB / 0.9981 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.0001591/0.3757, allocations: 115.1 kB / 1.242 GB, free: 4.492 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.377, allocations: 0.8054 MB / 1.243 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.377, allocations: 256 / 1.243 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006778/0.3777, allocations: 0.5428 MB / 1.243 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000871/0.3786, allocations: 146.8 kB / 1.244 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.38, allocations: 0.905 MB / 1.244 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004603/0.3805, allocations: 0.8586 MB / 1.245 GB, free: 1.086 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002631/0.3808, allocations: 104.5 kB / 1.245 GB, free: 0.9805 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.447e-05/0.3809, allocations: 39.42 kB / 1.245 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/0.3809, allocations: 0 / 1.245 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of Templates: time 0.6565/1.037, allocations: 5.834 MB / 1.251 GB, free: 36.96 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches