Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.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.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") translateModel(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.S.1.|res.S.1.|sou.S.1.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 102.6 kB / 16.39 MB, free: 6.379 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.002364/0.002364, allocations: 193.9 kB / 17.33 MB, free: 5.848 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.58/1.58, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.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.816/2.816, allocations: 437.1 MB / 0.7112 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 60.12 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.006154/1.016, allocations: 3.356 MB / 1.171 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003806/1.02, allocations: 2.162 MB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/1.02, allocations: 8 kB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/1.021, allocations: 292 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005584/1.022, allocations: 238.9 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008331/1.023, allocations: 296.5 kB / 1.173 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000492/1.023, allocations: 390.7 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004126/1.024, allocations: 211.8 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/1.024, allocations: 151.5 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003386/1.024, allocations: 183.3 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.305e-05/1.024, allocations: 28 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007245/1.025, allocations: 427.1 kB / 1.175 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001168/1.025, allocations: 103.7 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001533/1.025, allocations: 135.3 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0007334/1.026, allocations: 0.5183 MB / 1.176 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/1.026, allocations: 0 / 1.176 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of FrontEnd: time 4.127e-06/1.026, allocations: 0 / 1.176 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.213e-05/1.026, allocations: 3.938 kB / 1.176 GB, free: 11.39 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001095/1.027, allocations: 0.6173 MB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.027, allocations: 12.03 kB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000886/1.028, allocations: 112.6 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004032/1.029, allocations: 283.8 kB / 1.177 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/1.029, allocations: 16.8 kB / 1.177 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.933e-05/1.029, allocations: 32.36 kB / 1.177 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007086/1.029, allocations: 411.8 kB / 1.177 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/1.029, allocations: 0 / 1.177 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/1.03, allocations: 16 kB / 1.177 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.008e-05/1.03, allocations: 32.55 kB / 1.177 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006485/1.03, allocations: 345.9 kB / 1.177 GB, free: 9.43 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/1.033, allocations: 2.058 MB / 1.179 GB, free: 7.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008278/1.034, allocations: 345.1 kB / 1.18 GB, free: 6.824 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/1.034, allocations: 193.5 kB / 1.18 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/1.034, allocations: 85.09 kB / 1.18 GB, free: 6.527 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/1.034, allocations: 42.55 kB / 1.18 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=22): time 1.673e-06/1.034, allocations: 0 / 1.18 GB, free: 6.477 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34): time 0.005135/1.039, allocations: 1.576 MB / 1.182 GB, free: 4.867 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/1.04, allocations: 85.05 kB / 1.182 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002693/1.04, allocations: 241 kB / 1.182 GB, free: 4.523 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/1.04, allocations: 29.7 kB / 1.182 GB, free: 4.488 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/1.04, allocations: 188.4 kB / 1.182 GB, free: 4.297 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/1.04, allocations: 122.9 kB / 1.182 GB, free: 4.176 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/1.04, allocations: 82.12 kB / 1.182 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001611/1.04, allocations: 330.8 kB / 1.183 GB, free: 3.758 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004208/1.041, allocations: 202.5 kB / 1.183 GB, free: 3.555 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004936/1.041, allocations: 305 kB / 1.183 GB, free: 3.215 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009072/1.042, allocations: 0.517 MB / 1.184 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.042, allocations: 0 / 1.184 GB, free: 2.656 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.00137/1.044, allocations: 0.6527 MB / 1.184 GB, free: 1.984 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/1.044, allocations: 4 kB / 1.184 GB, free: 1.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.044, allocations: 4 kB / 1.184 GB, free: 1.977 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005587/1.044, allocations: 155.4 kB / 1.184 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004027/1.045, allocations: 91.88 kB / 1.184 GB, free: 1.723 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003848/1.049, allocations: 4.178 MB / 1.189 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003323/1.049, allocations: 39.95 kB / 1.189 GB, free: 13.17 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.86e-05/1.049, allocations: 16 kB / 1.189 GB, free: 13.16 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005554/1.05, allocations: 316.9 kB / 1.189 GB, free: 12.84 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004725/1.05, allocations: 301.2 kB / 1.189 GB, free: 12.5 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008892/1.051, allocations: 0.5153 MB / 1.19 GB, free: 11.95 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.824e-06/1.051, allocations: 0 / 1.19 GB, free: 11.95 MB / 0.92 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001317/1.052, allocations: 0.6487 MB / 1.19 GB, free: 11.28 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.052, allocations: 11.98 kB / 1.19 GB, free: 11.27 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/1.052, allocations: 4 kB / 1.19 GB, free: 11.26 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/1.053, allocations: 139.3 kB / 1.19 GB, free: 11.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/1.053, allocations: 95.94 kB / 1.191 GB, free: 11.02 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003525/1.057, allocations: 4.178 MB / 1.195 GB, free: 6.508 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/1.057, allocations: 36.12 kB / 1.195 GB, free: 6.473 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/1.057, allocations: 23.92 kB / 1.195 GB, free: 6.449 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002117/1.057, allocations: 212.1 kB / 1.195 GB, free: 6.234 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.35e-05/1.057, allocations: 31.81 kB / 1.195 GB, free: 6.203 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/1.059, allocations: 0.5932 MB / 1.195 GB, free: 5.594 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.077e-05/1.059, allocations: 4 kB / 1.195 GB, free: 5.59 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.059, allocations: 3.938 kB / 1.195 GB, free: 5.586 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/1.059, allocations: 7.984 kB / 1.196 GB, free: 5.578 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002447/1.061, allocations: 1.319 MB / 1.197 GB, free: 4.148 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.052e-06/1.061, allocations: 4 kB / 1.197 GB, free: 4.145 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/1.062, allocations: 64.14 kB / 1.197 GB, free: 4.082 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004294/1.062, allocations: 151.2 kB / 1.197 GB, free: 3.922 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.808e-05/1.062, allocations: 16 kB / 1.197 GB, free: 3.906 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003698/1.066, allocations: 4.182 MB / 1.201 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.066, allocations: 4.031 kB / 1.201 GB, free: 15.39 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/1.067, allocations: 0.7756 MB / 1.202 GB, free: 14.56 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/1.067, allocations: 148.9 kB / 1.202 GB, free: 14.4 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/1.067, allocations: 11.98 kB / 1.202 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002978/1.068, allocations: 27.97 kB / 1.202 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/1.068, allocations: 35.89 kB / 1.202 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-05/1.068, allocations: 19.94 kB / 1.202 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001911/1.068, allocations: 164.5 kB / 1.202 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/1.068, allocations: 0 / 1.202 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0008488/1.069, allocations: 167.9 kB / 1.202 GB, free: 13.98 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002706/1.069, allocations: 147 kB / 1.203 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002396/1.072, allocations: 1.23 MB / 1.204 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.072, allocations: 9.062 kB / 1.204 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008226/1.073, allocations: 485.5 kB / 1.204 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006019/1.073, allocations: 58.09 kB / 1.204 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/1.075, allocations: 0.7656 MB / 1.205 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005835/1.075, allocations: 0.8123 MB / 1.206 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0003444/1.076, allocations: 114.9 kB / 1.206 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.238e-05/1.076, allocations: 27.42 kB / 1.206 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of SimCode: time 4.71e-07/1.076, allocations: 0 / 1.206 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of Templates: time 0.01466/1.09, allocations: 6.415 MB / 1.212 GB, free: 3.801 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches