Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001326/0.001326, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00163/0.00163, allocations: 192.6 kB / 16.13 MB, free: 6.699 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.497/1.497, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.497/2.497, allocations: 390.2 MB / 0.6642 GB, free: 0.6289 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.00146, allocations: 63.89 kB / 0.8119 GB, free: 14.87 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7593/0.7608, allocations: 140.3 MB / 0.9489 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.005374/0.7662, allocations: 4.307 MB / 0.9531 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004074/0.7703, allocations: 2.404 MB / 0.9555 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005966/0.7709, allocations: 15.19 kB / 0.9555 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.7723, allocations: 342.5 kB / 0.9558 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00119/0.7735, allocations: 349.6 kB / 0.9562 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.7745, allocations: 303.3 kB / 0.9564 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001124/0.7757, allocations: 0.8665 MB / 0.9573 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006238/0.7763, allocations: 251.5 kB / 0.9575 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004165/0.7767, allocations: 224.8 kB / 0.9577 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004757/0.7772, allocations: 265.7 kB / 0.958 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.361e-05/0.7773, allocations: 19.44 kB / 0.958 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001312/0.7786, allocations: 0.5337 MB / 0.9585 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.7788, allocations: 136.3 kB / 0.9587 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002653/0.7791, allocations: 226.7 kB / 0.9589 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.7801, allocations: 0.7483 MB / 0.9596 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.7801, allocations: 4 kB / 0.9596 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.225e-06/0.7801, allocations: 0 / 0.9596 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.115e-06/0.7802, allocations: 3.938 kB / 0.9596 GB, free: 1.211 MB / 0.7169 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.001337/0.7815, allocations: 0.7834 MB / 0.9604 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.499e-05/0.7816, allocations: 9.062 kB / 0.9604 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.7831, allocations: 188.2 kB / 0.9606 GB, free: 464 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006033/0.7838, allocations: 402.6 kB / 0.961 GB, free: 100 kB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.525e-05/0.7838, allocations: 30.27 kB / 0.961 GB, free: 84 kB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.385e-05/0.7839, allocations: 30.72 kB / 0.961 GB, free: 76 kB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.7849, allocations: 0.6564 MB / 0.9617 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.373e-05/0.785, allocations: 6.188 kB / 0.9617 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-05/0.785, allocations: 26.12 kB / 0.9617 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/0.7852, allocations: 55.92 kB / 0.9617 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008283/0.786, allocations: 499.2 kB / 0.9622 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003878/0.7899, allocations: 3.794 MB / 0.9659 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.7918, allocations: 0.6228 MB / 0.9665 GB, free: 11.31 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002876/0.7921, allocations: 177.9 kB / 0.9667 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.7921, allocations: 7.25 kB / 0.9667 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.7921, allocations: 32.88 kB / 0.9667 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.074e-06/0.7921, allocations: 0.9688 kB / 0.9667 GB, free: 11.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002654/0.7948, allocations: 1.271 MB / 0.968 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.7949, allocations: 106.2 kB / 0.9681 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.7954, allocations: 402.5 kB / 0.9685 GB, free: 9.91 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.7955, allocations: 30.52 kB / 0.9685 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.7957, allocations: 290.6 kB / 0.9688 GB, free: 9.613 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.7958, allocations: 117.6 kB / 0.9689 GB, free: 9.512 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.796, allocations: 98.91 kB / 0.969 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001738/0.7962, allocations: 356.8 kB / 0.9693 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.7965, allocations: 179.4 kB / 0.9695 GB, free: 9.012 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004534/0.7969, allocations: 382.8 kB / 0.9699 GB, free: 8.656 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007901/0.7977, allocations: 0.586 MB / 0.9704 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.7978, allocations: 5.375 kB / 0.9704 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00121/0.799, allocations: 0.665 MB / 0.9711 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.799, allocations: 7.719 kB / 0.9711 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.799, allocations: 6.719 kB / 0.9711 GB, free: 7.824 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003789/0.7994, allocations: 104.7 kB / 0.9712 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004344/0.7999, allocations: 111.3 kB / 0.9713 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003775/0.8036, allocations: 4.036 MB / 0.9752 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004726/0.8041, allocations: 31.38 kB / 0.9753 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-05/0.8042, allocations: 23.38 kB / 0.9753 GB, free: 3.594 MB / 0.7325 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.0002944/0.8045, allocations: 195.7 kB / 0.9755 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.8046, allocations: 50.5 kB / 0.9755 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009384/0.8055, allocations: 0.5139 MB / 0.976 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.8056, allocations: 4.469 kB / 0.976 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.8056, allocations: 2.125 kB / 0.976 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.8056, allocations: 9.109 kB / 0.976 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.8076, allocations: 1.283 MB / 0.9773 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.8077, allocations: 2.062 kB / 0.9773 GB, free: 2.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002436/0.8079, allocations: 65.92 kB / 0.9774 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000286/0.8082, allocations: 86.38 kB / 0.9774 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.8082, allocations: 17.61 kB / 0.9775 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003274/0.8115, allocations: 4.019 MB / 0.9814 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/0.8116, allocations: 6.922 kB / 0.9814 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.8128, allocations: 0.7871 MB / 0.9822 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002487/0.813, allocations: 152.1 kB / 0.9823 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.8131, allocations: 17.16 kB / 0.9823 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003147/0.8134, allocations: 26.84 kB / 0.9824 GB, free: 13.1 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.028e-05/0.8135, allocations: 41.95 kB / 0.9824 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.8136, allocations: 10.12 kB / 0.9824 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000377/0.8139, allocations: 280.2 kB / 0.9827 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8139, allocations: 0 / 0.9827 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008392/0.8148, allocations: 121.3 kB / 0.9828 GB, free: 12.89 MB / 0.7481 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.0001887/0.815, allocations: 114.6 kB / 0.9829 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.8164, allocations: 0.7934 MB / 0.9837 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8164, allocations: 1.125 kB / 0.9837 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007408/0.8172, allocations: 0.5495 MB / 0.9842 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009155/0.8181, allocations: 135.7 kB / 0.9843 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001634/0.8197, allocations: 1.083 MB / 0.9854 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004854/0.8202, allocations: 0.8586 MB / 0.9862 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003196/0.8206, allocations: 108.5 kB / 0.9863 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.669e-05/0.8207, allocations: 35.44 kB / 0.9864 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of SimCode: time 6.71e-07/0.8207, allocations: 0 / 0.9864 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of Templates: time 0.01059/0.8313, allocations: 5.546 MB / 0.9918 GB, free: 4.258 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches