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.001772/0.001772, allocations: 104.7 kB / 16.27 MB, free: 5.98 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.001818/0.001818, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.428/1.428, allocations: 222.9 MB / 240.9 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.574/2.574, allocations: 437.1 MB / 0.711 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001951/0.001951, allocations: 65.28 kB / 0.8699 GB, free: 2.18 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3449, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.006146/0.3511, allocations: 3.351 MB / 1.021 GB, free: 7.254 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003988/0.3551, allocations: 2.166 MB / 1.023 GB, free: 5.074 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002662/0.3554, allocations: 4 kB / 1.023 GB, free: 5.07 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.3566, allocations: 299.2 kB / 1.024 GB, free: 4.777 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0007569/0.3574, allocations: 238.9 kB / 1.024 GB, free: 4.543 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009814/0.3584, allocations: 293.6 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005534/0.3589, allocations: 398.6 kB / 1.025 GB, free: 3.867 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004066/0.3593, allocations: 209.7 kB / 1.025 GB, free: 3.66 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.3596, allocations: 147.5 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003309/0.3599, allocations: 179.3 kB / 1.025 GB, free: 3.34 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.538e-05/0.36, allocations: 20 kB / 1.025 GB, free: 3.32 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007963/0.3608, allocations: 427.2 kB / 1.025 GB, free: 2.902 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001371/0.3609, allocations: 99.7 kB / 1.026 GB, free: 2.805 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.3611, allocations: 139.3 kB / 1.026 GB, free: 2.668 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006996/0.3618, allocations: 0.5181 MB / 1.026 GB, free: 2.148 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.3618, allocations: 0 / 1.026 GB, free: 2.148 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3618, allocations: 0 / 1.026 GB, free: 2.148 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.3618, allocations: 0 / 1.026 GB, free: 2.148 MB / 0.795 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.001077/0.3629, allocations: 0.6041 MB / 1.027 GB, free: 1.492 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.363, allocations: 12.03 kB / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000863/0.3638, allocations: 120.4 kB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003789/0.3642, allocations: 275.7 kB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.3643, allocations: 16.81 kB / 1.027 GB, free: 1.039 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.3643, allocations: 24.36 kB / 1.027 GB, free: 1.016 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007488/0.3651, allocations: 415.9 kB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3651, allocations: 0 / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.3651, allocations: 11.94 kB / 1.028 GB, free: 0.5703 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.844e-05/0.3652, allocations: 32.55 kB / 1.028 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00067/0.3659, allocations: 349.9 kB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.3687, allocations: 2.042 MB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008719/0.3696, allocations: 357 kB / 1.03 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/0.37, allocations: 189.6 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.3702, allocations: 89.11 kB / 1.031 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.952e-05/0.3702, allocations: 46.48 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=22): time 2.645e-06/0.3702, allocations: 0 / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34): time 0.005358/0.3756, allocations: 1.582 MB / 1.032 GB, free: 11.63 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.802e-05/0.3757, allocations: 84.98 kB / 1.032 GB, free: 11.53 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003104/0.376, allocations: 229 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.901e-05/0.3761, allocations: 29.7 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/0.3762, allocations: 191.9 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.3764, allocations: 118.3 kB / 1.033 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.3765, allocations: 78.12 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3767, allocations: 334.8 kB / 1.033 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.3771, allocations: 202.5 kB / 1.033 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.3776, allocations: 305 kB / 1.034 GB, free: 9.992 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009407/0.3786, allocations: 0.513 MB / 1.034 GB, free: 9.438 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.3786, allocations: 4 kB / 1.034 GB, free: 9.434 MB / 0.8106 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001458/0.3801, allocations: 0.6445 MB / 1.035 GB, free: 8.77 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.3801, allocations: 8 kB / 1.035 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.3801, allocations: 4 kB / 1.035 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005931/0.3807, allocations: 155.5 kB / 1.035 GB, free: 8.594 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.3812, allocations: 87.88 kB / 1.035 GB, free: 8.508 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003668/0.3849, allocations: 4.182 MB / 1.039 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003791/0.3853, allocations: 39.89 kB / 1.039 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.276e-05/0.3853, allocations: 16 kB / 1.039 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005811/0.3859, allocations: 316.9 kB / 1.04 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005046/0.3864, allocations: 301.2 kB / 1.04 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009366/0.3874, allocations: 0.5076 MB / 1.04 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.567e-06/0.3874, allocations: 0 / 1.04 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.001425/0.3888, allocations: 0.6482 MB / 1.041 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3889, allocations: 8.406 kB / 1.041 GB, free: 2.066 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.3889, allocations: 11.98 kB / 1.041 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004761/0.3894, allocations: 139.3 kB / 1.041 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.3898, allocations: 95.81 kB / 1.041 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003545/0.3933, allocations: 4.17 MB / 1.045 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003792/0.3937, allocations: 35.97 kB / 1.045 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.3938, allocations: 16 kB / 1.045 GB, free: 13.26 MB / 0.8262 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.0002223/0.394, allocations: 220.1 kB / 1.046 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.848e-05/0.3941, allocations: 23.72 kB / 1.046 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.3955, allocations: 0.6085 MB / 1.046 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.3955, allocations: 4 kB / 1.046 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3955, allocations: 4 kB / 1.046 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.3955, allocations: 7.969 kB / 1.046 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002494/0.398, allocations: 1.323 MB / 1.047 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/0.398, allocations: 11.94 kB / 1.047 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002623/0.3983, allocations: 59.89 kB / 1.048 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004423/0.3988, allocations: 147.6 kB / 1.048 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.3988, allocations: 15.94 kB / 1.048 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003452/0.4023, allocations: 4.182 MB / 1.052 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4023, allocations: 4 kB / 1.052 GB, free: 6.172 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.4036, allocations: 0.7825 MB / 1.053 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001901/0.4038, allocations: 136.8 kB / 1.053 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.4039, allocations: 8 kB / 1.053 GB, free: 5.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.4042, allocations: 27.97 kB / 1.053 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.4043, allocations: 39.89 kB / 1.053 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.718e-05/0.4044, allocations: 15.94 kB / 1.053 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000182/0.4045, allocations: 168.5 kB / 1.053 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4046, allocations: 0 / 1.053 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008394/0.4054, allocations: 168 kB / 1.053 GB, free: 4.766 MB / 0.8262 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.0002622/0.4057, allocations: 149.8 kB / 1.053 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002424/0.4081, allocations: 1.266 MB / 1.054 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.4081, allocations: 0 / 1.054 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0008199/0.4089, allocations: 489.3 kB / 1.055 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.4096, allocations: 54.69 kB / 1.055 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.4111, allocations: 0.7921 MB / 1.056 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.4116, allocations: 0.8083 MB / 1.057 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.4117, allocations: 31.42 kB / 1.057 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of SimCode: time 4.21e-07/0.4117, allocations: 4 kB / 1.057 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of Templates: time 0.01384/0.4255, allocations: 9.096 MB / 1.065 GB, free: 7.938 MB / 0.8419 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=400 -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