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.001595/0.001596, 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.001705/0.001706, allocations: 195.5 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.494/1.494, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.619/2.619, allocations: 437 MB / 0.7103 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 59.91 kB / 0.8692 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8908/0.8922, allocations: 151.6 MB / 1.017 GB, free: 2.562 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006524/0.8988, allocations: 4.284 MB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004359/0.9032, allocations: 2.377 MB / 1.024 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004665/0.9037, allocations: 15.88 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001326/0.9051, allocations: 382 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.9064, allocations: 370.2 kB / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009934/0.9074, allocations: 315.2 kB / 1.025 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001037/0.9084, allocations: 0.6828 MB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005781/0.909, allocations: 259.2 kB / 1.026 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005474/0.9096, allocations: 251 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005767/0.9101, allocations: 270.9 kB / 1.026 GB, free: 9.363 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 9.107e-05/0.9102, allocations: 28 kB / 1.026 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009847/0.9112, allocations: 431 kB / 1.027 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002133/0.9115, allocations: 147.5 kB / 1.027 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003161/0.9118, allocations: 234.6 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.913, allocations: 0.7262 MB / 1.028 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.913, allocations: 4 kB / 1.028 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.803e-06/0.913, allocations: 0 / 1.028 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.489e-05/0.913, allocations: 0 / 1.028 GB, free: 7.809 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.00137/0.9144, allocations: 0.7909 MB / 1.029 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.9145, allocations: 8.031 kB / 1.029 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.916, allocations: 184.1 kB / 1.029 GB, free: 6.781 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006314/0.9166, allocations: 408.5 kB / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.9167, allocations: 25.36 kB / 1.029 GB, free: 6.316 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.5e-05/0.9167, allocations: 32.36 kB / 1.029 GB, free: 6.285 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009319/0.9177, allocations: 0.6588 MB / 1.03 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.9177, allocations: 4 kB / 1.03 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.895e-05/0.9178, allocations: 15.98 kB / 1.03 GB, free: 5.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.619e-05/0.9179, allocations: 55.89 kB / 1.03 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007502/0.9186, allocations: 0.4898 MB / 1.03 GB, free: 4.977 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003391/0.922, allocations: 3.794 MB / 1.034 GB, free: 0.9219 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.9238, allocations: 0.6283 MB / 1.035 GB, free: 272 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002376/0.924, allocations: 178.5 kB / 1.035 GB, free: 84 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.924, allocations: 3.938 kB / 1.035 GB, free: 80 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.9241, allocations: 42.55 kB / 1.035 GB, free: 28 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.843e-06/0.9241, allocations: 0 / 1.035 GB, free: 28 kB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.002267/0.9264, allocations: 1.277 MB / 1.036 GB, free: 14.67 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.9264, allocations: 110.8 kB / 1.036 GB, free: 14.54 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004033/0.9268, allocations: 393.8 kB / 1.037 GB, free: 14.15 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.9269, allocations: 37.7 kB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.9271, allocations: 283.3 kB / 1.037 GB, free: 13.82 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.677e-05/0.9272, allocations: 118.4 kB / 1.037 GB, free: 13.71 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.9273, allocations: 102.1 kB / 1.037 GB, free: 13.6 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.9275, allocations: 354.8 kB / 1.037 GB, free: 13.24 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.9277, allocations: 181 kB / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003832/0.9281, allocations: 375.2 kB / 1.038 GB, free: 12.61 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007398/0.9289, allocations: 0.5874 MB / 1.039 GB, free: 11.93 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.9289, allocations: 7.938 kB / 1.039 GB, free: 11.92 MB / 0.795 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001075/0.93, allocations: 0.6674 MB / 1.039 GB, free: 11.24 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.93, allocations: 8 kB / 1.039 GB, free: 11.23 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.93, allocations: 4 kB / 1.039 GB, free: 11.23 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/0.9304, allocations: 102.4 kB / 1.039 GB, free: 11.12 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003835/0.9308, allocations: 111.8 kB / 1.039 GB, free: 11.01 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003523/0.9343, allocations: 4.353 MB / 1.044 GB, free: 6.23 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.9347, allocations: 23.98 kB / 1.044 GB, free: 6.207 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.9347, allocations: 27.98 kB / 1.044 GB, free: 6.18 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.0002213/0.9349, allocations: 201.7 kB / 1.044 GB, free: 5.973 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.9351, allocations: 47.42 kB / 1.044 GB, free: 5.926 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008395/0.9359, allocations: 0.5188 MB / 1.044 GB, free: 5.387 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.9359, allocations: 7.938 kB / 1.044 GB, free: 5.379 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.9359, allocations: 4 kB / 1.044 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.9359, allocations: 0 / 1.044 GB, free: 5.375 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.9377, allocations: 1.296 MB / 1.046 GB, free: 3.984 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.9377, allocations: 4 kB / 1.046 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002285/0.9379, allocations: 59.89 kB / 1.046 GB, free: 3.922 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002532/0.9382, allocations: 86.52 kB / 1.046 GB, free: 3.828 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.585e-05/0.9382, allocations: 8 kB / 1.046 GB, free: 3.82 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003143/0.9414, allocations: 4.345 MB / 1.05 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.9414, allocations: 3.984 kB / 1.05 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008658/0.9423, allocations: 0.7815 MB / 1.051 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001738/0.9424, allocations: 152.4 kB / 1.051 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.609e-05/0.9425, allocations: 12 kB / 1.051 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.9428, allocations: 23.97 kB / 1.051 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.9429, allocations: 31.84 kB / 1.051 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.9429, allocations: 16 kB / 1.051 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002959/0.9432, allocations: 279.1 kB / 1.051 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9432, allocations: 0 / 1.051 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006801/0.9439, allocations: 120 kB / 1.052 GB, free: 13.57 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.0001473/0.9441, allocations: 111.2 kB / 1.052 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.9453, allocations: 0.8326 MB / 1.052 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/0.9453, allocations: 0 / 1.052 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000675/0.946, allocations: 0.5473 MB / 1.053 GB, free: 12 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008908/0.9469, allocations: 137.2 kB / 1.053 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.9483, allocations: 0.9167 MB / 1.054 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.9488, allocations: 0.8585 MB / 1.055 GB, free: 10.01 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0002874/0.9491, allocations: 108.5 kB / 1.055 GB, free: 9.902 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.97e-05/0.9492, allocations: 43.42 kB / 1.055 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.9492, allocations: 0 / 1.055 GB, free: 9.859 MB / 0.8106 GB Notification: Performance of Templates: time 0.01144/0.9606, allocations: 5.759 MB / 1.061 GB, free: 4.152 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