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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001257/0.001257, 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.00963/0.00963, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.429/1.429, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.778/2.778, allocations: 462.7 MB / 0.7364 GB, free: 348 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003544, allocations: 9.031 kB / 0.9028 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.359, allocations: 159.6 MB / 1.059 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Conversion.Examples.ACDCConverter): time 0.004083/0.3631, allocations: 3.029 MB / 1.062 GB, free: 2.492 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003516/0.3667, allocations: 2.158 MB / 1.064 GB, free: 332 kB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.3669, allocations: 4 kB / 1.064 GB, free: 328 kB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002205/0.3671, allocations: 39.64 kB / 1.064 GB, free: 288 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0006014/0.3677, allocations: 219.1 kB / 1.064 GB, free: 68 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00082/0.3686, allocations: 263.4 kB / 1.064 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000566/0.3691, allocations: 0.5258 MB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005657/0.3697, allocations: 349.4 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002019/0.3699, allocations: 127.5 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003289/0.3703, allocations: 171.3 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.172e-05/0.3703, allocations: 16 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008169/0.3711, allocations: 0.4951 MB / 1.066 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.3712, allocations: 91.66 kB / 1.066 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.3714, allocations: 149 kB / 1.066 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006249/0.372, allocations: 0.5218 MB / 1.067 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.372, allocations: 4 kB / 1.067 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3721, allocations: 0 / 1.067 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.3721, allocations: 0 / 1.067 GB, free: 13.34 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.0009351/0.373, allocations: 0.5614 MB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3731, allocations: 8.031 kB / 1.067 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008582/0.3739, allocations: 124.4 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003411/0.3743, allocations: 267.7 kB / 1.068 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.3743, allocations: 20.8 kB / 1.068 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.3744, allocations: 20.38 kB / 1.068 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007095/0.3751, allocations: 423.8 kB / 1.068 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.3751, allocations: 4 kB / 1.068 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.3751, allocations: 11.98 kB / 1.068 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-05/0.3752, allocations: 36.53 kB / 1.068 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000636/0.3758, allocations: 353.9 kB / 1.068 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002483/0.3783, allocations: 2.058 MB / 1.07 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008923/0.3792, allocations: 365 kB / 1.071 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004158/0.3797, allocations: 197.6 kB / 1.071 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.3798, allocations: 97.03 kB / 1.071 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.3798, allocations: 30.56 kB / 1.071 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=22): time 2.896e-06/0.3799, allocations: 0 / 1.071 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of matching and sorting (n=34): time 0.005426/0.3853, allocations: 1.748 MB / 1.073 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.3854, allocations: 85.33 kB / 1.073 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002817/0.3857, allocations: 240.9 kB / 1.073 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.523e-05/0.3857, allocations: 29.7 kB / 1.073 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.3859, allocations: 187.9 kB / 1.073 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.698e-05/0.386, allocations: 118.3 kB / 1.073 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.142e-05/0.386, allocations: 37.7 kB / 1.073 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.3862, allocations: 334.8 kB / 1.074 GB, free: 5.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004235/0.3866, allocations: 208.7 kB / 1.074 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.3871, allocations: 313 kB / 1.074 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009221/0.3881, allocations: 0.539 MB / 1.075 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3881, allocations: 0 / 1.075 GB, free: 4.453 MB / 0.8262 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001358/0.3894, allocations: 0.6643 MB / 1.075 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.3896, allocations: 188.4 kB / 1.076 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.3896, allocations: 4 kB / 1.076 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005385/0.3902, allocations: 147.3 kB / 1.076 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.3906, allocations: 95.81 kB / 1.076 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003145/0.3937, allocations: 3.954 MB / 1.08 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003869/0.3941, allocations: 47.95 kB / 1.08 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/0.3942, allocations: 16 kB / 1.08 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.3942, allocations: 4 kB / 1.08 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001312/0.3955, allocations: 0.6277 MB / 1.08 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.3955, allocations: 4 kB / 1.08 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004011/0.396, allocations: 151.5 kB / 1.081 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.3964, allocations: 99.81 kB / 1.081 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006748/0.397, allocations: 1.109 MB / 1.082 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.3974, allocations: 39.95 kB / 1.082 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.3974, allocations: 16 kB / 1.082 GB, free: 12.83 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.0002792/0.3977, allocations: 250.8 kB / 1.082 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.987e-05/0.3978, allocations: 23.72 kB / 1.082 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.3991, allocations: 0.6321 MB / 1.083 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3992, allocations: 4 kB / 1.083 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3992, allocations: 8 kB / 1.083 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.3992, allocations: 0 / 1.083 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.4016, allocations: 1.342 MB / 1.084 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.4016, allocations: 4.25 kB / 1.084 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/0.4019, allocations: 71.89 kB / 1.084 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004545/0.4023, allocations: 155.2 kB / 1.084 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.4024, allocations: 8 kB / 1.084 GB, free: 10.19 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002769/0.4051, allocations: 3.969 MB / 1.088 GB, free: 5.902 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.4052, allocations: 7.938 kB / 1.088 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.4064, allocations: 0.7814 MB / 1.089 GB, free: 5.059 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001721/0.4066, allocations: 156.6 kB / 1.089 GB, free: 4.887 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.894e-05/0.4067, allocations: 11.94 kB / 1.089 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.407, allocations: 35.97 kB / 1.089 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.269e-05/0.4071, allocations: 27.95 kB / 1.089 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/0.4072, allocations: 20 kB / 1.089 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001653/0.4073, allocations: 164.5 kB / 1.089 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4073, allocations: 0 / 1.089 GB, free: 4.629 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007833/0.4081, allocations: 164 kB / 1.089 GB, free: 4.469 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.000244/0.4084, allocations: 143 kB / 1.09 GB, free: 4.316 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00212/0.4105, allocations: 1.206 MB / 1.091 GB, free: 3.043 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4105, allocations: 0 / 1.091 GB, free: 3.043 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0007903/0.4113, allocations: 486.2 kB / 1.091 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006676/0.412, allocations: 70.14 kB / 1.091 GB, free: 2.477 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.4134, allocations: 0.8897 MB / 1.092 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004333/0.4138, allocations: 0.8006 MB / 1.093 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003716/0.4142, allocations: 126.8 kB / 1.093 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.205e-05/0.4143, allocations: 31.44 kB / 1.093 GB, free: 0.5547 MB / 0.8419 GB Notification: Performance of SimCode: time 1.062e-06/0.4143, allocations: 4 kB / 1.093 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of Templates: time 0.01079/0.4251, allocations: 5.642 MB / 1.099 GB, free: 10.94 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