Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001886/0.001885, allocations: 104.8 kB / 16.4 MB, free: 6.512 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002081/0.002081, allocations: 198.7 kB / 19.35 MB, free: 3.73 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 222.9 MB / 245.1 MB, free: 14.99 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.942/2.942, allocations: 437 MB / 0.717 GB, free: 4.219 MB / 0.5762 GB [Timeout remaining time 86] 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.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=505,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_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=505,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_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002213/0.002213, allocations: 67.91 kB / 1.027 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514/1.516, allocations: 151.6 MB / 1.175 GB, free: 17.95 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter): time 0.005221/1.521, allocations: 2.752 MB / 1.178 GB, free: 16.08 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003857/1.525, allocations: 2.086 MB / 1.18 GB, free: 14.67 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002159/1.526, allocations: 7.969 kB / 1.18 GB, free: 14.66 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009512/1.527, allocations: 230.1 kB / 1.18 GB, free: 14.53 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0007658/1.527, allocations: 217.4 kB / 1.18 GB, free: 14.41 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001082/1.528, allocations: 274.8 kB / 1.181 GB, free: 14.29 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0005026/1.529, allocations: 313.3 kB / 1.181 GB, free: 14.16 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004371/1.529, allocations: 160.6 kB / 1.181 GB, free: 14.09 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002128/1.53, allocations: 122.8 kB / 1.181 GB, free: 14.04 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003792/1.53, allocations: 154 kB / 1.181 GB, free: 13.98 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/1.53, allocations: 18.78 kB / 1.181 GB, free: 13.98 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001025/1.531, allocations: 419.4 kB / 1.182 GB, free: 13.85 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001441/1.531, allocations: 97.55 kB / 1.182 GB, free: 13.81 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001659/1.531, allocations: 112.9 kB / 1.182 GB, free: 13.74 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000893/1.532, allocations: 486.4 kB / 1.182 GB, free: 13.59 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/1.532, allocations: 5.281 kB / 1.182 GB, free: 13.59 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.076e-06/1.532, allocations: 0 / 1.182 GB, free: 13.59 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.203e-05/1.532, allocations: 0 / 1.182 GB, free: 13.59 MB / 0.92 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.001083/1.533, allocations: 0.5631 MB / 1.183 GB, free: 13.1 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.832e-05/1.534, allocations: 15.58 kB / 1.183 GB, free: 13.09 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/1.535, allocations: 128.4 kB / 1.183 GB, free: 13.07 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/1.535, allocations: 270.2 kB / 1.183 GB, free: 12.83 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/1.535, allocations: 11.56 kB / 1.183 GB, free: 12.82 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-05/1.535, allocations: 30.03 kB / 1.183 GB, free: 12.81 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008595/1.536, allocations: 394 kB / 1.184 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/1.536, allocations: 1.156 kB / 1.184 GB, free: 12.61 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.86e-05/1.536, allocations: 15.11 kB / 1.184 GB, free: 12.6 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.356e-05/1.536, allocations: 25.03 kB / 1.184 GB, free: 12.59 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008414/1.537, allocations: 380.4 kB / 1.184 GB, free: 12.48 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/1.539, allocations: 1.74 MB / 1.186 GB, free: 11.04 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000972/1.54, allocations: 351.7 kB / 1.186 GB, free: 10.89 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/1.541, allocations: 192.3 kB / 1.186 GB, free: 10.81 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/1.541, allocations: 87.39 kB / 1.186 GB, free: 10.72 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/1.541, allocations: 37.7 kB / 1.186 GB, free: 10.68 MB / 0.92 GB Notification: Performance of pre-optimization done (n=25): time 4.038e-06/1.541, allocations: 0 / 1.186 GB, free: 10.68 MB / 0.92 GB Notification: Performance of matching and sorting (n=35): time 0.009819/1.551, allocations: 2.054 MB / 1.188 GB, free: 10.18 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/1.551, allocations: 85.44 kB / 1.189 GB, free: 10.08 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002949/1.551, allocations: 182.2 kB / 1.189 GB, free: 9.949 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/1.551, allocations: 30.83 kB / 1.189 GB, free: 9.914 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/1.551, allocations: 155.2 kB / 1.189 GB, free: 9.777 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/1.551, allocations: 127.8 kB / 1.189 GB, free: 9.676 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001829/1.552, allocations: 73.59 kB / 1.189 GB, free: 9.641 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.422e-05/1.552, allocations: 334.5 kB / 1.189 GB, free: 9.316 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006507/1.552, allocations: 270.7 kB / 1.19 GB, free: 9.219 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006878/1.553, allocations: 341.2 kB / 1.19 GB, free: 9.039 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/1.554, allocations: 0.6201 MB / 1.191 GB, free: 8.738 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/1.554, allocations: 7.938 kB / 1.191 GB, free: 8.73 MB / 0.92 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001476/1.556, allocations: 0.6636 MB / 1.191 GB, free: 8.391 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.461e-05/1.556, allocations: 8.219 kB / 1.191 GB, free: 8.391 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.556, allocations: 2.25 kB / 1.191 GB, free: 8.391 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.434e-05/1.556, allocations: 4.688 kB / 1.191 GB, free: 8.391 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.557, allocations: 155.6 kB / 1.191 GB, free: 8.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/1.557, allocations: 7.922 kB / 1.191 GB, free: 8.336 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/1.558, allocations: 55.83 kB / 1.191 GB, free: 8.309 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/1.558, allocations: 15.81 kB / 1.191 GB, free: 8.305 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006989/1.558, allocations: 368.4 kB / 1.192 GB, free: 8.078 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00062/1.559, allocations: 341.5 kB / 1.192 GB, free: 7.844 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001172/1.56, allocations: 0.5946 MB / 1.193 GB, free: 7.48 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.598e-06/1.56, allocations: 5.031 kB / 1.193 GB, free: 7.477 MB / 0.92 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.001423/1.562, allocations: 0.6359 MB / 1.193 GB, free: 7.141 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/1.562, allocations: 5.531 kB / 1.193 GB, free: 7.141 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/1.562, allocations: 11.25 kB / 1.193 GB, free: 7.133 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/1.562, allocations: 3.875 kB / 1.193 GB, free: 7.133 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009498/1.563, allocations: 153.8 kB / 1.194 GB, free: 7.082 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/1.563, allocations: 3.156 kB / 1.194 GB, free: 7.082 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004753/1.563, allocations: 50.73 kB / 1.194 GB, free: 7.059 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.146e-05/1.563, allocations: 24.73 kB / 1.194 GB, free: 7.047 MB / 0.92 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.0002009/1.563, allocations: 205.6 kB / 1.194 GB, free: 6.844 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/1.564, allocations: 22.45 kB / 1.194 GB, free: 6.832 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/1.565, allocations: 0.6849 MB / 1.194 GB, free: 6.41 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-06/1.565, allocations: 3.5 kB / 1.194 GB, free: 6.41 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.565, allocations: 5.219 kB / 1.194 GB, free: 6.406 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/1.565, allocations: 3.984 kB / 1.195 GB, free: 6.402 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/1.567, allocations: 1.366 MB / 1.196 GB, free: 5.363 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/1.567, allocations: 2.219 kB / 1.196 GB, free: 5.363 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005994/1.568, allocations: 122.5 kB / 1.196 GB, free: 5.324 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/1.568, allocations: 8.469 kB / 1.196 GB, free: 5.32 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/1.568, allocations: 8.312 kB / 1.196 GB, free: 5.316 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/1.568, allocations: 15.02 kB / 1.196 GB, free: 5.305 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.568, allocations: 2.25 kB / 1.196 GB, free: 5.305 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/1.569, allocations: 0.7095 MB / 1.197 GB, free: 4.801 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/1.569, allocations: 136.6 kB / 1.197 GB, free: 4.672 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.696e-05/1.569, allocations: 19.8 kB / 1.197 GB, free: 4.656 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003808/1.57, allocations: 41.2 kB / 1.197 GB, free: 4.637 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/1.57, allocations: 28.08 kB / 1.197 GB, free: 4.621 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/1.57, allocations: 14.53 kB / 1.197 GB, free: 4.617 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0002398/1.57, allocations: 151 kB / 1.197 GB, free: 4.508 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/1.57, allocations: 0 / 1.197 GB, free: 4.508 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009012/1.571, allocations: 152.8 kB / 1.197 GB, free: 4.48 MB / 0.92 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.0002747/1.571, allocations: 142.5 kB / 1.197 GB, free: 4.363 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002111/1.574, allocations: 0.8777 MB / 1.198 GB, free: 3.938 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.574, allocations: 0 / 1.198 GB, free: 3.938 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005153/1.574, allocations: 256.1 kB / 1.198 GB, free: 3.82 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005654/1.575, allocations: 48.2 kB / 1.198 GB, free: 3.793 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001399/1.576, allocations: 0.7041 MB / 1.199 GB, free: 3.305 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/1.576, allocations: 0.7832 MB / 1.2 GB, free: 2.559 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0005869/1.577, allocations: 173.6 kB / 1.2 GB, free: 2.488 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/1.577, allocations: 35.3 kB / 1.2 GB, free: 2.473 MB / 0.92 GB Notification: Performance of SimCode: time 9.22e-07/1.577, allocations: 0 / 1.2 GB, free: 2.473 MB / 0.92 GB Notification: Performance of Templates: time 0.01306/1.59, allocations: 5.277 MB / 1.205 GB, free: 15.84 MB / 0.9356 GB [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACACConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACACConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches