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.001389/0.001389, allocations: 100.1 kB / 15.88 MB, free: 12 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.001555/0.001555, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.406/1.406, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.7/2.7, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 74.41 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3576, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.006111/0.3638, allocations: 3.399 MB / 1.056 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003878/0.3677, allocations: 2.193 MB / 1.058 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003158/0.368, allocations: 7.938 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001065/0.3692, allocations: 267 kB / 1.058 GB, free: 2.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0007544/0.3699, allocations: 227.1 kB / 1.059 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008708/0.3708, allocations: 254.3 kB / 1.059 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0007194/0.3715, allocations: 0.5298 MB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004573/0.372, allocations: 173 kB / 1.06 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003449/0.3724, allocations: 135.5 kB / 1.06 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000447/0.3728, allocations: 187.2 kB / 1.06 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.855e-05/0.3729, allocations: 16 kB / 1.06 GB, free: 0.9062 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009539/0.3738, allocations: 0.499 MB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.374, allocations: 91.72 kB / 1.061 GB, free: 324 kB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001925/0.3742, allocations: 131.3 kB / 1.061 GB, free: 192 kB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006841/0.3749, allocations: 391.2 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3749, allocations: 4 kB / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3749, allocations: 0 / 1.061 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.589e-05/0.3749, allocations: 0 / 1.061 GB, free: 15.8 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.001373/0.3763, allocations: 0.6133 MB / 1.062 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3764, allocations: 15.97 kB / 1.062 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009979/0.3774, allocations: 112.4 kB / 1.062 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004435/0.3778, allocations: 279.7 kB / 1.062 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.332e-05/0.3779, allocations: 16.81 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.3779, allocations: 20.38 kB / 1.062 GB, free: 14.67 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007606/0.3787, allocations: 419.8 kB / 1.062 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.3787, allocations: 7.984 kB / 1.062 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.662e-05/0.3788, allocations: 4 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.441e-05/0.3788, allocations: 36.48 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/0.3795, allocations: 353.9 kB / 1.063 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002771/0.3823, allocations: 2.038 MB / 1.065 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008643/0.3832, allocations: 357 kB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.3837, allocations: 197.6 kB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.3838, allocations: 85.09 kB / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/0.3839, allocations: 38.56 kB / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.874e-06/0.3839, allocations: 0 / 1.065 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.005271/0.3892, allocations: 1.573 MB / 1.067 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.3893, allocations: 85.33 kB / 1.067 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.3896, allocations: 229 kB / 1.067 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/0.3897, allocations: 33.7 kB / 1.067 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.3899, allocations: 187.9 kB / 1.068 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.3901, allocations: 118.3 kB / 1.068 GB, free: 8.602 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002156/0.3903, allocations: 78.12 kB / 1.068 GB, free: 8.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.3904, allocations: 334.8 kB / 1.068 GB, free: 8.184 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004234/0.3909, allocations: 198.4 kB / 1.068 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005056/0.3914, allocations: 309.1 kB / 1.068 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009049/0.3923, allocations: 0.504 MB / 1.069 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.3923, allocations: 4 kB / 1.069 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001512/0.3938, allocations: 0.6608 MB / 1.07 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/0.3939, allocations: 8 kB / 1.07 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/0.3939, allocations: 7.938 kB / 1.07 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006173/0.3945, allocations: 143.5 kB / 1.07 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004284/0.395, allocations: 91.88 kB / 1.07 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003483/0.3985, allocations: 3.946 MB / 1.074 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003653/0.3988, allocations: 35.89 kB / 1.074 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.3989, allocations: 23.88 kB / 1.074 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005502/0.3995, allocations: 325 kB / 1.074 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005071/0.4, allocations: 301.1 kB / 1.074 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009353/0.4009, allocations: 0.5115 MB / 1.075 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.601e-05/0.401, allocations: 0 / 1.075 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001374/0.4024, allocations: 0.6524 MB / 1.076 GB, free: 15.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.4024, allocations: 9.406 kB / 1.076 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4024, allocations: 0 / 1.076 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004572/0.4029, allocations: 143.5 kB / 1.076 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003995/0.4033, allocations: 95.81 kB / 1.076 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003391/0.4067, allocations: 3.946 MB / 1.08 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/0.4071, allocations: 36.03 kB / 1.08 GB, free: 11.39 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.422e-05/0.4072, allocations: 23.98 kB / 1.08 GB, free: 11.37 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.0002182/0.4074, allocations: 212 kB / 1.08 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.715e-05/0.4075, allocations: 23.72 kB / 1.08 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001329/0.4088, allocations: 0.5971 MB / 1.08 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4088, allocations: 4 kB / 1.08 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4089, allocations: 8 kB / 1.08 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.4089, allocations: 3.984 kB / 1.08 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/0.4114, allocations: 1.322 MB / 1.082 GB, free: 9.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.4114, allocations: 4 kB / 1.082 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.4117, allocations: 63.89 kB / 1.082 GB, free: 8.996 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004915/0.4122, allocations: 151.3 kB / 1.082 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/0.4122, allocations: 8 kB / 1.082 GB, free: 8.828 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003509/0.4158, allocations: 3.973 MB / 1.086 GB, free: 4.539 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.4158, allocations: 4 kB / 1.086 GB, free: 4.535 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.4171, allocations: 0.7734 MB / 1.087 GB, free: 3.707 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001874/0.4173, allocations: 136.7 kB / 1.087 GB, free: 3.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.4174, allocations: 11.98 kB / 1.087 GB, free: 3.543 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003262/0.4177, allocations: 27.97 kB / 1.087 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.4178, allocations: 39.84 kB / 1.087 GB, free: 3.477 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-05/0.4178, allocations: 12 kB / 1.087 GB, free: 3.465 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001879/0.418, allocations: 172.5 kB / 1.087 GB, free: 3.297 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.21e-07/0.418, allocations: 0 / 1.087 GB, free: 3.297 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008774/0.4189, allocations: 164 kB / 1.087 GB, free: 3.137 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.0003032/0.4192, allocations: 139.1 kB / 1.087 GB, free: 2.988 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002337/0.4216, allocations: 1.228 MB / 1.089 GB, free: 1.711 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 9.238e-06/0.4216, allocations: 4 kB / 1.089 GB, free: 1.707 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008552/0.4225, allocations: 490.3 kB / 1.089 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000641/0.4231, allocations: 62.97 kB / 1.089 GB, free: 1.145 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.4248, allocations: 0.915 MB / 1.09 GB, free: 176 kB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.4253, allocations: 0.8123 MB / 1.091 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.4254, allocations: 23.44 kB / 1.091 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of SimCode: time 4.71e-07/0.4254, allocations: 3.938 kB / 1.091 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of Templates: time 0.01361/0.439, allocations: 9.066 MB / 1.1 GB, free: 6.246 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/jenkins1/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