Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|load.S.2.|sou.S.1.|sou.S.2.|load.i.1.|load.i.2.|conACAC.terminal_n.v.1.|conACAC.terminal_n.v.2.|conACAC.terminal_p.v.1.|conACAC.terminal_p.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008862/0.000886, allocations: 98.88 kB / 16.02 MB, free: 76 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.00108/0.00108, allocations: 184.3 kB / 16.92 MB, free: 6.684 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.375/1.375, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.47/2.47, allocations: 390.9 MB / 0.667 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003513/0.0003514, allocations: 8 kB / 0.8166 GB, free: 13.3 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.692/0.6924, allocations: 142.4 MB / 0.9557 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.002946/0.6954, allocations: 2.433 MB / 0.9581 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002828/0.6982, allocations: 2.073 MB / 0.9601 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001612/0.6984, allocations: 6.688 kB / 0.9601 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001738/0.6986, allocations: 26.53 kB / 0.9601 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005418/0.6992, allocations: 203.5 kB / 0.9603 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006104/0.6998, allocations: 246.8 kB / 0.9606 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000447/0.7002, allocations: 455.1 kB / 0.961 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006152/0.7009, allocations: 375.2 kB / 0.9614 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.7011, allocations: 97.06 kB / 0.9615 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003004/0.7014, allocations: 148.8 kB / 0.9616 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.522e-05/0.7014, allocations: 11 kB / 0.9616 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007373/0.7022, allocations: 481.1 kB / 0.9621 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.977e-05/0.7023, allocations: 89.3 kB / 0.9622 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.7024, allocations: 127.9 kB / 0.9623 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004576/0.7029, allocations: 360.7 kB / 0.9626 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7029, allocations: 3.938 kB / 0.9626 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7029, allocations: 1.062 kB / 0.9626 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.7029, allocations: 4 kB / 0.9626 GB, free: 2.594 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0008614/0.7038, allocations: 0.518 MB / 0.9631 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.939e-05/0.7038, allocations: 9 kB / 0.9631 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009961/0.7048, allocations: 133.3 kB / 0.9633 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002908/0.7051, allocations: 265.4 kB / 0.9635 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.7052, allocations: 13.69 kB / 0.9635 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-05/0.7052, allocations: 24.91 kB / 0.9636 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006996/0.7059, allocations: 398.5 kB / 0.9639 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.706, allocations: 0.8438 kB / 0.9639 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.706, allocations: 6.469 kB / 0.9639 GB, free: 1.484 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.583e-05/0.7061, allocations: 25.36 kB / 0.964 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007245/0.7068, allocations: 387.7 kB / 0.9643 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.7087, allocations: 1.738 MB / 0.966 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007836/0.7095, allocations: 361 kB / 0.9664 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003874/0.7099, allocations: 196.1 kB / 0.9666 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001607/0.7101, allocations: 93.09 kB / 0.9667 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/0.7101, allocations: 32.34 kB / 0.9667 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 3.237e-06/0.7101, allocations: 1.281 kB / 0.9667 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35): time 0.01009/0.7202, allocations: 2.233 MB / 0.9689 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.7203, allocations: 80.17 kB / 0.969 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.7205, allocations: 184.5 kB / 0.9691 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.878e-05/0.7205, allocations: 30.83 kB / 0.9692 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.7207, allocations: 146.5 kB / 0.9693 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.7208, allocations: 125.2 kB / 0.9694 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-05/0.7209, allocations: 36.64 kB / 0.9694 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.721, allocations: 332 kB / 0.9698 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006013/0.7216, allocations: 269 kB / 0.97 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006596/0.7223, allocations: 357.2 kB / 0.9704 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001271/0.7235, allocations: 0.6353 MB / 0.971 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.7236, allocations: 3.938 kB / 0.971 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001527/0.7251, allocations: 0.6904 MB / 0.9717 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.7252, allocations: 153.6 kB / 0.9718 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.7252, allocations: 2.094 kB / 0.9718 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.389e-05/0.7253, allocations: 7.938 kB / 0.9718 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009801/0.7262, allocations: 161.3 kB / 0.972 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.67e-05/0.7263, allocations: 7.938 kB / 0.972 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004905/0.7268, allocations: 63.59 kB / 0.972 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/0.7268, allocations: 16.53 kB / 0.9721 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.7268, allocations: 7.875 kB / 0.9721 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001388/0.7282, allocations: 0.6069 MB / 0.9727 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.7283, allocations: 6.094 kB / 0.9727 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.7283, allocations: 8.078 kB / 0.9727 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009059/0.7292, allocations: 154.7 kB / 0.9728 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.7292, allocations: 8.672 kB / 0.9728 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/0.7297, allocations: 54.12 kB / 0.9729 GB, free: 11.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.456e-05/0.7297, allocations: 20.36 kB / 0.9729 GB, free: 11.55 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (44): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002721/0.73, allocations: 242 kB / 0.9731 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.818e-05/0.7301, allocations: 26.75 kB / 0.9732 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.7317, allocations: 0.7 MB / 0.9738 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.7317, allocations: 8.5 kB / 0.9738 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.7317, allocations: 4.969 kB / 0.9738 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.7317, allocations: 3.984 kB / 0.9739 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002332/0.7341, allocations: 1.385 MB / 0.9752 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.7341, allocations: 1.656 kB / 0.9752 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/0.7347, allocations: 127.9 kB / 0.9753 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.158e-06/0.7347, allocations: 4.281 kB / 0.9753 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.7348, allocations: 8.594 kB / 0.9753 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.137e-06/0.7348, allocations: 14.8 kB / 0.9754 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.7348, allocations: 6.656 kB / 0.9754 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.7359, allocations: 0.7271 MB / 0.9761 GB, free: 9.273 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/0.7361, allocations: 137.2 kB / 0.9762 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.852e-05/0.7361, allocations: 8 kB / 0.9762 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003838/0.7365, allocations: 44.97 kB / 0.9763 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.7366, allocations: 33.34 kB / 0.9763 GB, free: 9.102 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.7367, allocations: 13.41 kB / 0.9763 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002112/0.7369, allocations: 153.4 kB / 0.9764 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7369, allocations: 0 / 0.9764 GB, free: 8.984 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007669/0.7377, allocations: 145.8 kB / 0.9766 GB, free: 8.965 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002426/0.7379, allocations: 138.2 kB / 0.9767 GB, free: 8.855 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001959/0.7399, allocations: 0.9111 MB / 0.9776 GB, free: 8.305 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.7399, allocations: 4 kB / 0.9776 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004863/0.7404, allocations: 269.3 kB / 0.9779 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006095/0.741, allocations: 53 kB / 0.9779 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001306/0.7424, allocations: 0.863 MB / 0.9788 GB, free: 7.07 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003712/0.7427, allocations: 0.7838 MB / 0.9795 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001928/0.7429, allocations: 35.42 kB / 0.9796 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.7429, allocations: 3.938 kB / 0.9796 GB, free: 6.219 MB / 0.7325 GB Notification: Performance of Templates: time 0.007605/0.7506, allocations: 4.916 MB / 0.9844 GB, free: 1.316 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches