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.001181/0.001182, allocations: 98.41 kB / 16.02 MB, free: 76 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.001612/0.001612, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.424/1.424, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.766/2.766, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000411/0.000411, allocations: 13.69 kB / 0.9034 GB, free: 36.29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3362, allocations: 159.6 MB / 1.059 GB, free: 4.98 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004375/0.3406, allocations: 3.029 MB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003754/0.3444, allocations: 2.154 MB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002555/0.3447, allocations: 4 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002413/0.345, allocations: 39.64 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000769/0.3457, allocations: 219.1 kB / 1.065 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008698/0.3466, allocations: 258.4 kB / 1.065 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006733/0.3473, allocations: 0.5297 MB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006476/0.348, allocations: 349.4 kB / 1.066 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.3483, allocations: 123.5 kB / 1.066 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004131/0.3487, allocations: 183.2 kB / 1.066 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.3488, allocations: 12 kB / 1.066 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008807/0.3497, allocations: 0.4951 MB / 1.067 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.3498, allocations: 91.7 kB / 1.067 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.35, allocations: 149 kB / 1.067 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006327/0.3506, allocations: 387.1 kB / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.3506, allocations: 0 / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.11e-07/0.3507, allocations: 0 / 1.067 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.3507, allocations: 3.938 kB / 1.067 GB, free: 12.93 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.001074/0.3517, allocations: 0.5629 MB / 1.068 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.3518, allocations: 15.95 kB / 1.068 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009936/0.3528, allocations: 116.4 kB / 1.068 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.3532, allocations: 279.6 kB / 1.068 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/0.3533, allocations: 16.81 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.338e-05/0.3533, allocations: 24.38 kB / 1.068 GB, free: 11.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007566/0.3541, allocations: 427.8 kB / 1.069 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3541, allocations: 0 / 1.069 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.3542, allocations: 8 kB / 1.069 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.695e-05/0.3542, allocations: 32.55 kB / 1.069 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006896/0.3549, allocations: 361.9 kB / 1.069 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.3576, allocations: 2.062 MB / 1.071 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008266/0.3584, allocations: 363.2 kB / 1.071 GB, free: 8.375 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000427/0.3589, allocations: 201.6 kB / 1.071 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000125/0.359, allocations: 85.11 kB / 1.072 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.359, allocations: 34.56 kB / 1.072 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.704e-06/0.3591, allocations: 4 kB / 1.072 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.005461/0.3645, allocations: 1.749 MB / 1.073 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.3646, allocations: 85.33 kB / 1.073 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.3649, allocations: 232.9 kB / 1.074 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.3649, allocations: 33.7 kB / 1.074 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.365, allocations: 180 kB / 1.074 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.3652, allocations: 122.3 kB / 1.074 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.28e-05/0.3652, allocations: 37.7 kB / 1.074 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3654, allocations: 334.8 kB / 1.074 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004217/0.3658, allocations: 208.7 kB / 1.074 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004906/0.3663, allocations: 309.1 kB / 1.075 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009334/0.3673, allocations: 0.5314 MB / 1.075 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.3673, allocations: 0 / 1.075 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001387/0.3687, allocations: 0.6726 MB / 1.076 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000137/0.3688, allocations: 188.2 kB / 1.076 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.3688, allocations: 4 kB / 1.076 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005593/0.3694, allocations: 143.3 kB / 1.076 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004238/0.3698, allocations: 107.8 kB / 1.076 GB, free: 2.875 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.373, allocations: 3.953 MB / 1.08 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003665/0.3734, allocations: 40.12 kB / 1.08 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.3734, allocations: 19.98 kB / 1.08 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.825e-06/0.3734, allocations: 4 kB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001287/0.3747, allocations: 0.6238 MB / 1.081 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.3748, allocations: 4 kB / 1.081 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004041/0.3752, allocations: 143.3 kB / 1.081 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003882/0.3756, allocations: 99.8 kB / 1.081 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006813/0.3763, allocations: 1.109 MB / 1.082 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003225/0.3766, allocations: 40.16 kB / 1.082 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.267e-05/0.3767, allocations: 23.98 kB / 1.082 GB, free: 12.43 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.000274/0.3769, allocations: 245 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.848e-05/0.377, allocations: 27.72 kB / 1.083 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.3784, allocations: 0.6404 MB / 1.083 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3784, allocations: 4 kB / 1.083 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.3784, allocations: 0 / 1.083 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.3785, allocations: 3.984 kB / 1.083 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/0.3808, allocations: 1.342 MB / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.3809, allocations: 4 kB / 1.084 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.3811, allocations: 63.89 kB / 1.085 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004837/0.3816, allocations: 159.5 kB / 1.085 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.3817, allocations: 8 kB / 1.085 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002986/0.3847, allocations: 3.969 MB / 1.089 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.3847, allocations: 4.031 kB / 1.089 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001276/0.386, allocations: 0.8009 MB / 1.089 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.3861, allocations: 136.6 kB / 1.089 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.614e-05/0.3862, allocations: 11.98 kB / 1.089 GB, free: 4.477 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00032/0.3865, allocations: 39.97 kB / 1.09 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.461e-05/0.3866, allocations: 31.95 kB / 1.09 GB, free: 4.406 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.3867, allocations: 12 kB / 1.09 GB, free: 4.395 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001665/0.3868, allocations: 172.5 kB / 1.09 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3868, allocations: 0 / 1.09 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007613/0.3876, allocations: 156 kB / 1.09 GB, free: 4.07 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.0002396/0.3879, allocations: 151 kB / 1.09 GB, free: 3.91 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002102/0.39, allocations: 1.198 MB / 1.091 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.39, allocations: 0 / 1.091 GB, free: 2.645 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007674/0.3908, allocations: 494 kB / 1.092 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006349/0.3914, allocations: 56.47 kB / 1.092 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.3928, allocations: 0.9385 MB / 1.093 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000409/0.3932, allocations: 0.8123 MB / 1.093 GB, free: 252 kB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.3933, allocations: 27.44 kB / 1.093 GB, free: 224 kB / 0.8419 GB Notification: Performance of SimCode: time 6.91e-07/0.3933, allocations: 0 / 1.093 GB, free: 224 kB / 0.8419 GB Notification: Performance of Templates: time 0.01225/0.4056, allocations: 8.953 MB / 1.102 GB, free: 7.273 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