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.001505/0.001505, allocations: 100.1 kB / 15.88 MB, free: 12 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.001664/0.001664, allocations: 196.9 kB / 16.79 MB, free: 6.809 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.464/1.464, allocations: 222.9 MB / 240.5 MB, free: 4.598 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.695/2.695, allocations: 437 MB / 0.7106 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 63.91 kB / 0.8692 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.774/0.7756, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006703/0.7823, allocations: 4.324 MB / 1.022 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004033/0.7864, allocations: 2.389 MB / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004087/0.7868, allocations: 19.88 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001149/0.788, allocations: 342.4 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0009823/0.789, allocations: 350.5 kB / 1.025 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000815/0.7898, allocations: 287.4 kB / 1.025 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0009963/0.7908, allocations: 0.8621 MB / 1.026 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005344/0.7914, allocations: 265.8 kB / 1.026 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004566/0.7919, allocations: 234.9 kB / 1.026 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004773/0.7923, allocations: 266.9 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.394e-05/0.7924, allocations: 20 kB / 1.026 GB, free: 9.441 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009923/0.7934, allocations: 0.534 MB / 1.027 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.7936, allocations: 131.6 kB / 1.027 GB, free: 8.777 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002952/0.7939, allocations: 222.7 kB / 1.027 GB, free: 8.559 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008156/0.7947, allocations: 0.5553 MB / 1.028 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7948, allocations: 4 kB / 1.028 GB, free: 8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.274e-06/0.7948, allocations: 0 / 1.028 GB, free: 8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.256e-05/0.7948, allocations: 3.938 kB / 1.028 GB, free: 7.996 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.001431/0.7962, allocations: 0.7889 MB / 1.029 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.7963, allocations: 8.031 kB / 1.029 GB, free: 7.152 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.7977, allocations: 188.1 kB / 1.029 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005885/0.7983, allocations: 400.5 kB / 1.029 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.7983, allocations: 29.36 kB / 1.029 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.842e-05/0.7984, allocations: 32.36 kB / 1.029 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000961/0.7994, allocations: 0.6526 MB / 1.03 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.7994, allocations: 3.938 kB / 1.03 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-05/0.7995, allocations: 19.98 kB / 1.03 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.004e-05/0.7996, allocations: 59.83 kB / 1.03 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007908/0.8004, allocations: 0.4915 MB / 1.03 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00353/0.8039, allocations: 3.79 MB / 1.034 GB, free: 1.109 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.8056, allocations: 0.6282 MB / 1.035 GB, free: 464 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000299/0.806, allocations: 178.5 kB / 1.035 GB, free: 276 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.315e-05/0.806, allocations: 4 kB / 1.035 GB, free: 272 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.8061, allocations: 42.5 kB / 1.035 GB, free: 220 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 2.846e-06/0.8061, allocations: 0 / 1.035 GB, free: 220 kB / 0.7794 GB Notification: Performance of matching and sorting (n=33): time 0.002964/0.809, allocations: 1.269 MB / 1.036 GB, free: 14.87 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.927e-05/0.8091, allocations: 110.8 kB / 1.036 GB, free: 14.74 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005332/0.8097, allocations: 397.8 kB / 1.037 GB, free: 14.34 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.8097, allocations: 33.7 kB / 1.037 GB, free: 14.3 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.81, allocations: 284 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.8101, allocations: 118.4 kB / 1.037 GB, free: 13.9 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.8103, allocations: 98.06 kB / 1.037 GB, free: 13.8 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.8105, allocations: 358.8 kB / 1.037 GB, free: 13.44 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.8108, allocations: 173 kB / 1.038 GB, free: 13.27 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004706/0.8113, allocations: 375.2 kB / 1.038 GB, free: 12.82 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008585/0.8122, allocations: 0.5951 MB / 1.039 GB, free: 12.13 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.8122, allocations: 3.938 kB / 1.039 GB, free: 12.12 MB / 0.795 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001368/0.8136, allocations: 0.6712 MB / 1.039 GB, free: 11.44 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.8136, allocations: 8 kB / 1.039 GB, free: 11.43 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.816e-05/0.8136, allocations: 8 kB / 1.039 GB, free: 11.42 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004493/0.8141, allocations: 98.44 kB / 1.039 GB, free: 11.32 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.8145, allocations: 112 kB / 1.039 GB, free: 11.21 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003597/0.8181, allocations: 4.036 MB / 1.043 GB, free: 6.766 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/0.8185, allocations: 35.91 kB / 1.043 GB, free: 6.73 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/0.8186, allocations: 24 kB / 1.043 GB, free: 6.707 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.0002728/0.8189, allocations: 199.2 kB / 1.044 GB, free: 6.504 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.819, allocations: 47.44 kB / 1.044 GB, free: 6.457 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009073/0.8199, allocations: 0.5266 MB / 1.044 GB, free: 5.91 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.8199, allocations: 4 kB / 1.044 GB, free: 5.906 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.8199, allocations: 8 kB / 1.044 GB, free: 5.898 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.8199, allocations: 3.984 kB / 1.044 GB, free: 5.895 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.8218, allocations: 1.276 MB / 1.045 GB, free: 4.523 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.8218, allocations: 4 kB / 1.045 GB, free: 4.52 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002383/0.822, allocations: 63.89 kB / 1.046 GB, free: 4.457 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002748/0.8223, allocations: 86.78 kB / 1.046 GB, free: 4.363 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.949e-05/0.8223, allocations: 16 kB / 1.046 GB, free: 4.348 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003257/0.8256, allocations: 4.032 MB / 1.05 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-06/0.8256, allocations: 4 kB / 1.05 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009226/0.8265, allocations: 0.7753 MB / 1.05 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.8268, allocations: 152.5 kB / 1.05 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.8268, allocations: 15.88 kB / 1.051 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003025/0.8271, allocations: 27.97 kB / 1.051 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.532e-05/0.8272, allocations: 27.97 kB / 1.051 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.706e-05/0.8272, allocations: 23.92 kB / 1.051 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0002942/0.8275, allocations: 283.1 kB / 1.051 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8275, allocations: 0 / 1.051 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006971/0.8283, allocations: 120 kB / 1.051 GB, free: 14.43 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.0001598/0.8284, allocations: 119.1 kB / 1.051 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001245/0.8297, allocations: 0.7975 MB / 1.052 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.8297, allocations: 0 / 1.052 GB, free: 13.47 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0007073/0.8304, allocations: 0.5435 MB / 1.052 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009255/0.8313, allocations: 133.4 kB / 1.053 GB, free: 12.76 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.833, allocations: 1.122 MB / 1.054 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/0.8335, allocations: 0.8663 MB / 1.054 GB, free: 10.68 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.8337, allocations: 43.42 kB / 1.055 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of SimCode: time 3.7e-07/0.8337, allocations: 0 / 1.055 GB, free: 10.64 MB / 0.8106 GB Notification: Performance of Templates: time 0.01444/0.8481, allocations: 11.07 MB / 1.065 GB, free: 15.59 MB / 0.8262 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/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