Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001292/0.001292, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01636/0.01636, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.683/1.683, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.093/3.093, allocations: 462.6 MB / 0.7364 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003921, allocations: 10.28 kB / 0.9027 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4087, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.00402/0.4127, allocations: 3.025 MB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003509/0.4163, allocations: 2.162 MB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001511/0.4164, allocations: 7.938 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.4166, allocations: 35.7 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000594/0.4172, allocations: 215.1 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006609/0.4179, allocations: 259.4 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005167/0.4184, allocations: 0.5374 MB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000531/0.419, allocations: 345.4 kB / 1.065 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.4192, allocations: 123.5 kB / 1.065 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003072/0.4195, allocations: 175.3 kB / 1.065 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.924e-05/0.4195, allocations: 12 kB / 1.065 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007058/0.4202, allocations: 0.499 MB / 1.066 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.4204, allocations: 91.7 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.4205, allocations: 145 kB / 1.066 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.4211, allocations: 0.5257 MB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.4212, allocations: 4 kB / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4212, allocations: 0 / 1.067 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.4212, allocations: 0 / 1.067 GB, free: 12.81 MB / 0.8262 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.000902/0.4221, allocations: 0.5536 MB / 1.067 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.4221, allocations: 15.97 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008586/0.423, allocations: 120.4 kB / 1.067 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.4233, allocations: 283.6 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.4234, allocations: 20.8 kB / 1.068 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.4234, allocations: 16.38 kB / 1.068 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000698/0.4241, allocations: 423.9 kB / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4242, allocations: 0 / 1.068 GB, free: 11.28 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.427e-05/0.4242, allocations: 11.98 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.315e-05/0.4243, allocations: 40.53 kB / 1.068 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006376/0.4249, allocations: 353.9 kB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.4273, allocations: 2.058 MB / 1.07 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007885/0.4281, allocations: 361 kB / 1.071 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004081/0.4286, allocations: 201.6 kB / 1.071 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001065/0.4287, allocations: 89.08 kB / 1.071 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.4287, allocations: 34.56 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.473e-06/0.4287, allocations: 0 / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.005406/0.4341, allocations: 1.753 MB / 1.073 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.212e-05/0.4342, allocations: 85.33 kB / 1.073 GB, free: 6.02 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.4345, allocations: 240.9 kB / 1.073 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.4345, allocations: 33.7 kB / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/0.4347, allocations: 184 kB / 1.073 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/0.4348, allocations: 110.3 kB / 1.073 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.261e-05/0.4348, allocations: 45.64 kB / 1.073 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.435, allocations: 334.8 kB / 1.074 GB, free: 5.059 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/0.4354, allocations: 204.7 kB / 1.074 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/0.4359, allocations: 313.1 kB / 1.074 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008828/0.4368, allocations: 0.5314 MB / 1.075 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.4368, allocations: 3.938 kB / 1.075 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001323/0.4381, allocations: 0.6726 MB / 1.075 GB, free: 3.238 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.4382, allocations: 176.2 kB / 1.076 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4383, allocations: 4 kB / 1.076 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000519/0.4388, allocations: 155.3 kB / 1.076 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004142/0.4392, allocations: 99.81 kB / 1.076 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002916/0.4421, allocations: 3.95 MB / 1.08 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.4425, allocations: 39.95 kB / 1.08 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/0.4425, allocations: 20 kB / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/0.4425, allocations: 0 / 1.08 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001236/0.4438, allocations: 0.6316 MB / 1.08 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.4438, allocations: 4 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003779/0.4442, allocations: 147.4 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.4446, allocations: 95.88 kB / 1.081 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006557/0.4453, allocations: 1.113 MB / 1.082 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000301/0.4456, allocations: 39.95 kB / 1.082 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.964e-05/0.4456, allocations: 12 kB / 1.082 GB, free: 12.32 MB / 0.8419 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.000257/0.4459, allocations: 257.1 kB / 1.082 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.092e-05/0.446, allocations: 23.72 kB / 1.082 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/0.4473, allocations: 0.6326 MB / 1.083 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4473, allocations: 8 kB / 1.083 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4473, allocations: 0 / 1.083 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.4473, allocations: 4 kB / 1.083 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.4496, allocations: 1.346 MB / 1.084 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.4496, allocations: 0 / 1.084 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002672/0.4499, allocations: 76.14 kB / 1.084 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004328/0.4503, allocations: 159.3 kB / 1.084 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/0.4504, allocations: 8 kB / 1.084 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002807/0.4532, allocations: 3.969 MB / 1.088 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4532, allocations: 0 / 1.088 GB, free: 5.371 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.4545, allocations: 0.7892 MB / 1.089 GB, free: 4.527 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.4546, allocations: 148.6 kB / 1.089 GB, free: 4.363 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.797e-05/0.4547, allocations: 8 kB / 1.089 GB, free: 4.355 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003062/0.455, allocations: 35.97 kB / 1.089 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.4551, allocations: 31.95 kB / 1.089 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.4551, allocations: 12 kB / 1.089 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001962/0.4553, allocations: 172.5 kB / 1.089 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4554, allocations: 3.938 kB / 1.089 GB, free: 4.102 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008442/0.4562, allocations: 167.9 kB / 1.089 GB, free: 3.938 MB / 0.8419 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.0002466/0.4565, allocations: 147 kB / 1.089 GB, free: 3.781 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002065/0.4585, allocations: 1.19 MB / 1.091 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4585, allocations: 0 / 1.091 GB, free: 2.523 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000749/0.4593, allocations: 494.1 kB / 1.091 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006282/0.4599, allocations: 62.83 kB / 1.091 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.4613, allocations: 0.8891 MB / 1.092 GB, free: 1.02 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.4618, allocations: 0.8123 MB / 1.093 GB, free: 184 kB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003423/0.4621, allocations: 114.9 kB / 1.093 GB, free: 68 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.8e-05/0.4622, allocations: 23.44 kB / 1.093 GB, free: 44 kB / 0.8419 GB Notification: Performance of SimCode: time 6.21e-07/0.4622, allocations: 0 / 1.093 GB, free: 44 kB / 0.8419 GB Notification: Performance of Templates: time 0.01119/0.4734, allocations: 5.654 MB / 1.098 GB, free: 10.42 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Conversion_Examples_ACDCConverter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches