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.002001/0.002002, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.002205/0.002206, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.18 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.63/2.63, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 67.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9598/0.9613, allocations: 151.6 MB / 1.167 GB, free: 3.867 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.005296/0.9666, allocations: 3.362 MB / 1.171 GB, free: 0.4922 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003498/0.9702, allocations: 2.17 MB / 1.173 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001695/0.9704, allocations: 4 kB / 1.173 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009737/0.9714, allocations: 278.8 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005865/0.972, allocations: 246.9 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008083/0.9728, allocations: 292.6 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00046/0.9733, allocations: 390.8 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004577/0.9737, allocations: 216.6 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002755/0.974, allocations: 155.4 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.9744, allocations: 171.4 kB / 1.174 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.629e-05/0.9744, allocations: 23.94 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006557/0.9751, allocations: 427.2 kB / 1.175 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.9752, allocations: 99.77 kB / 1.175 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001388/0.9754, allocations: 139.3 kB / 1.175 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006667/0.976, allocations: 0.5199 MB / 1.176 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.976, allocations: 3.938 kB / 1.176 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9761, allocations: 4 kB / 1.176 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 8.596e-06/0.9761, allocations: 0 / 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.001067/0.9771, allocations: 0.6041 MB / 1.176 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.9772, allocations: 12.03 kB / 1.176 GB, free: 10.72 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008739/0.9781, allocations: 116.4 kB / 1.176 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004082/0.9785, allocations: 287.7 kB / 1.177 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.9785, allocations: 12.81 kB / 1.177 GB, free: 10.28 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.731e-05/0.9786, allocations: 20.36 kB / 1.177 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/0.9792, allocations: 419.9 kB / 1.177 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.9793, allocations: 0 / 1.177 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.09e-05/0.9793, allocations: 8 kB / 1.177 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-05/0.9794, allocations: 36.53 kB / 1.177 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006218/0.98, allocations: 345.9 kB / 1.177 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.9825, allocations: 2.05 MB / 1.179 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007992/0.9833, allocations: 350.1 kB / 1.18 GB, free: 6.836 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003896/0.9837, allocations: 189.6 kB / 1.18 GB, free: 6.645 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.9839, allocations: 81.11 kB / 1.18 GB, free: 6.547 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.9839, allocations: 42.56 kB / 1.18 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=22): time 1.803e-06/0.9839, allocations: 0 / 1.18 GB, free: 6.496 MB / 0.9044 GB Notification: Performance of matching and sorting (n=34): time 0.005113/0.989, allocations: 1.579 MB / 1.182 GB, free: 4.883 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.9891, allocations: 85.05 kB / 1.182 GB, free: 4.781 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.9894, allocations: 233 kB / 1.182 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.222e-05/0.9894, allocations: 33.7 kB / 1.182 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.9895, allocations: 187.9 kB / 1.182 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.748e-05/0.9896, allocations: 118.3 kB / 1.182 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.9898, allocations: 82.03 kB / 1.182 GB, free: 4.117 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.9899, allocations: 342.8 kB / 1.183 GB, free: 3.773 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003853/0.9903, allocations: 194.5 kB / 1.183 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/0.9908, allocations: 301.1 kB / 1.183 GB, free: 3.238 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008593/0.9916, allocations: 0.5168 MB / 1.184 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9917, allocations: 0 / 1.184 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001315/0.993, allocations: 0.6562 MB / 1.184 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.993, allocations: 4 kB / 1.184 GB, free: 2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.993, allocations: 4.406 kB / 1.184 GB, free: 1.996 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005438/0.9936, allocations: 147.3 kB / 1.184 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004414/0.994, allocations: 91.88 kB / 1.184 GB, free: 1.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/0.9972, allocations: 4.17 MB / 1.188 GB, free: 13.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003804/0.9976, allocations: 43.86 kB / 1.189 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.9977, allocations: 12 kB / 1.189 GB, free: 13.19 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005717/0.9982, allocations: 321 kB / 1.189 GB, free: 12.88 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004569/0.9987, allocations: 305 kB / 1.189 GB, free: 12.53 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008545/0.9996, allocations: 0.5153 MB / 1.19 GB, free: 11.97 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.007e-06/0.9996, allocations: 7.938 kB / 1.19 GB, free: 11.96 MB / 0.92 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001322/1.001, allocations: 0.6446 MB / 1.19 GB, free: 11.3 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/1.001, allocations: 4 kB / 1.19 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/1.001, allocations: 4 kB / 1.19 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004779/1.001, allocations: 155.4 kB / 1.19 GB, free: 11.13 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/1.002, allocations: 91.88 kB / 1.19 GB, free: 11.04 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/1.005, allocations: 4.178 MB / 1.195 GB, free: 6.527 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003749/1.005, allocations: 35.95 kB / 1.195 GB, free: 6.492 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/1.005, allocations: 16 kB / 1.195 GB, free: 6.477 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.000209/1.006, allocations: 212.2 kB / 1.195 GB, free: 6.262 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.481e-05/1.006, allocations: 27.62 kB / 1.195 GB, free: 6.234 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/1.007, allocations: 0.6049 MB / 1.195 GB, free: 5.613 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/1.007, allocations: 7.938 kB / 1.195 GB, free: 5.605 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/1.007, allocations: 0 / 1.195 GB, free: 5.605 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/1.007, allocations: 3.984 kB / 1.195 GB, free: 5.602 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/1.009, allocations: 1.315 MB / 1.197 GB, free: 4.176 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/1.009, allocations: 8 kB / 1.197 GB, free: 4.168 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/1.01, allocations: 59.89 kB / 1.197 GB, free: 4.109 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/1.01, allocations: 151.2 kB / 1.197 GB, free: 3.949 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.676e-05/1.01, allocations: 12.19 kB / 1.197 GB, free: 3.938 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003104/1.013, allocations: 4.178 MB / 1.201 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/1.013, allocations: 8.062 kB / 1.201 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/1.015, allocations: 0.7794 MB / 1.202 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/1.015, allocations: 136.7 kB / 1.202 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.914e-05/1.015, allocations: 12 kB / 1.202 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00031/1.015, allocations: 35.97 kB / 1.202 GB, free: 14.39 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.149e-05/1.015, allocations: 31.89 kB / 1.202 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.488e-05/1.015, allocations: 15.94 kB / 1.202 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001748/1.015, allocations: 168.5 kB / 1.202 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/1.015, allocations: 0 / 1.202 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007972/1.016, allocations: 164 kB / 1.202 GB, free: 14.02 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.0002288/1.016, allocations: 143.1 kB / 1.202 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002207/1.019, allocations: 1.246 MB / 1.204 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.019, allocations: 0 / 1.204 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0007497/1.019, allocations: 482.3 kB / 1.204 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/1.02, allocations: 75.7 kB / 1.204 GB, free: 12 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/1.021, allocations: 0.7763 MB / 1.205 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/1.022, allocations: 0.8084 MB / 1.206 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.93e-05/1.022, allocations: 27.44 kB / 1.206 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of SimCode: time 4.3e-07/1.022, allocations: 0 / 1.206 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of Templates: time 0.01277/1.035, allocations: 9.129 MB / 1.215 GB, free: 1.184 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 -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