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.00102/0.00102, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.001136/0.001136, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.905/2.905, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004426/0.0004426, allocations: 8.469 kB / 0.9021 GB, free: 36.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3601, allocations: 159.6 MB / 1.058 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004572/0.3647, allocations: 2.909 MB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00419/0.369, allocations: 2.015 MB / 1.063 GB, free: 372 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.3693, allocations: 4 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002428/0.3695, allocations: 39.64 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006332/0.3702, allocations: 179.2 kB / 1.063 GB, free: 148 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008264/0.371, allocations: 211.5 kB / 1.063 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000582/0.3716, allocations: 454.5 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005532/0.3722, allocations: 321.7 kB / 1.064 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002786/0.3725, allocations: 119.5 kB / 1.064 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003771/0.3728, allocations: 171.4 kB / 1.064 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.825e-05/0.3729, allocations: 12 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006957/0.3736, allocations: 275.6 kB / 1.065 GB, free: 14.58 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.3737, allocations: 83.77 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.764e-05/0.3738, allocations: 73.58 kB / 1.065 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005324/0.3744, allocations: 379 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3744, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3744, allocations: 0 / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.3744, allocations: 0 / 1.065 GB, free: 14.05 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.0009791/0.3754, allocations: 0.5729 MB / 1.066 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.3755, allocations: 8.031 kB / 1.066 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009698/0.3764, allocations: 119.5 kB / 1.066 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.3768, allocations: 270.5 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.3769, allocations: 16.42 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.532e-05/0.3769, allocations: 27.94 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007142/0.3776, allocations: 407.6 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.3777, allocations: 3.938 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.539e-05/0.3777, allocations: 15.98 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.229e-05/0.3778, allocations: 36.55 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007624/0.3785, allocations: 353.8 kB / 1.067 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002581/0.3811, allocations: 2.066 MB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007781/0.3819, allocations: 353.6 kB / 1.069 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/0.3823, allocations: 202 kB / 1.069 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001159/0.3825, allocations: 85.3 kB / 1.069 GB, free: 9.203 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.3825, allocations: 38.73 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 1.683e-06/0.3825, allocations: 0 / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.004881/0.3874, allocations: 1.757 MB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.3874, allocations: 81.39 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002284/0.3877, allocations: 232.9 kB / 1.072 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.3877, allocations: 33.7 kB / 1.072 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.3878, allocations: 184 kB / 1.072 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.608e-05/0.3879, allocations: 122.3 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.042e-05/0.388, allocations: 4 kB / 1.072 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3881, allocations: 342.8 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003627/0.3885, allocations: 200.8 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004245/0.3889, allocations: 309.1 kB / 1.073 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00045/0.3894, allocations: 243.7 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.3894, allocations: 8 kB / 1.073 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001458/0.3908, allocations: 0.6616 MB / 1.074 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.391, allocations: 192.4 kB / 1.074 GB, free: 4.637 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.391, allocations: 4 kB / 1.074 GB, free: 4.633 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004931/0.3915, allocations: 147.3 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004704/0.392, allocations: 99.81 kB / 1.074 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003409/0.3954, allocations: 3.942 MB / 1.078 GB, free: 124 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.3958, allocations: 47.98 kB / 1.078 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.3958, allocations: 16 kB / 1.078 GB, free: 60 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.3958, allocations: 7.938 kB / 1.078 GB, free: 52 kB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001304/0.3971, allocations: 0.6162 MB / 1.078 GB, free: 15.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.3972, allocations: 7.953 kB / 1.078 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003847/0.3976, allocations: 143.4 kB / 1.079 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003637/0.3979, allocations: 95.88 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007222/0.3987, allocations: 1.105 MB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.399, allocations: 43.92 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.399, allocations: 12 kB / 1.08 GB, free: 13.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003201/0.3993, allocations: 253.1 kB / 1.08 GB, free: 13.7 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-05/0.3994, allocations: 31.62 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001274/0.4007, allocations: 0.6243 MB / 1.081 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.4007, allocations: 7.938 kB / 1.081 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4007, allocations: 8 kB / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.4007, allocations: 0 / 1.081 GB, free: 13 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002278/0.403, allocations: 1.342 MB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/0.403, allocations: 4 kB / 1.082 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.4033, allocations: 68.16 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004202/0.4037, allocations: 151.3 kB / 1.082 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.968e-05/0.4038, allocations: 8 kB / 1.082 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003169/0.4069, allocations: 3.973 MB / 1.086 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.407, allocations: 0 / 1.086 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.4082, allocations: 0.7931 MB / 1.087 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001797/0.4084, allocations: 140.7 kB / 1.087 GB, free: 6.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.4084, allocations: 11.95 kB / 1.087 GB, free: 6.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/0.4087, allocations: 43.95 kB / 1.087 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.858e-05/0.4088, allocations: 27.91 kB / 1.087 GB, free: 5.938 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.4089, allocations: 16 kB / 1.087 GB, free: 5.922 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002767/0.4092, allocations: 164.5 kB / 1.087 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.5e-07/0.4092, allocations: 7.938 kB / 1.087 GB, free: 5.75 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008389/0.41, allocations: 164 kB / 1.087 GB, free: 5.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002645/0.4103, allocations: 143.1 kB / 1.088 GB, free: 5.438 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002126/0.4124, allocations: 1.201 MB / 1.089 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.4124, allocations: 0 / 1.089 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008865/0.4133, allocations: 490.1 kB / 1.089 GB, free: 3.664 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006089/0.414, allocations: 66.22 kB / 1.089 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001545/0.4155, allocations: 0.8555 MB / 1.09 GB, free: 2.695 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004909/0.416, allocations: 0.8045 MB / 1.091 GB, free: 1.863 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003762/0.4164, allocations: 114.9 kB / 1.091 GB, free: 1.75 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.63e-05/0.4165, allocations: 27.44 kB / 1.091 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of SimCode: time 7.41e-07/0.4165, allocations: 0 / 1.091 GB, free: 1.723 MB / 0.8419 GB Notification: Performance of Templates: time 0.01245/0.429, allocations: 5.524 MB / 1.096 GB, free: 12.23 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