Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 103.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.001481/0.001481, 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.407/1.407, 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 11.0.1-master/package.mo): time 2.617/2.617, allocations: 469.4 MB / 0.7427 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 62.91 kB / 0.9088 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3429, allocations: 159.1 MB / 1.064 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004768/0.3477, allocations: 2.415 MB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002813/0.3505, allocations: 1.589 MB / 1.068 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000172/0.3507, allocations: 7.938 kB / 1.068 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007639/0.3515, allocations: 167.3 kB / 1.068 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0004879/0.352, allocations: 147.4 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005671/0.3526, allocations: 195.4 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003551/0.353, allocations: 211.3 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003358/0.3533, allocations: 117 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001884/0.3535, allocations: 83.75 kB / 1.069 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.3538, allocations: 107.6 kB / 1.069 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.3539, allocations: 12 kB / 1.069 GB, free: 9.961 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004246/0.3543, allocations: 215.6 kB / 1.069 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.968e-05/0.3544, allocations: 63.81 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.3545, allocations: 83.59 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000487/0.355, allocations: 295.4 kB / 1.07 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.355, allocations: 0 / 1.07 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.783e-06/0.355, allocations: 3.938 kB / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.355, allocations: 0 / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008537/0.3559, allocations: 483.1 kB / 1.07 GB, free: 8.789 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.356, allocations: 15.97 kB / 1.07 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008306/0.3568, allocations: 84.64 kB / 1.07 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.3571, allocations: 232.1 kB / 1.071 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.3571, allocations: 8.656 kB / 1.071 GB, free: 8.418 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.3572, allocations: 12.38 kB / 1.071 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005225/0.3577, allocations: 299.5 kB / 1.071 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.3577, allocations: 0 / 1.071 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.3577, allocations: 8 kB / 1.071 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.788e-05/0.3578, allocations: 12.23 kB / 1.071 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004455/0.3582, allocations: 232.4 kB / 1.071 GB, free: 7.832 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.3603, allocations: 1.607 MB / 1.073 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004182/0.3607, allocations: 319.2 kB / 1.073 GB, free: 5.723 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.3608, allocations: 65.67 kB / 1.073 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.3608, allocations: 8 kB / 1.073 GB, free: 5.645 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.253e-05/0.3609, allocations: 38.56 kB / 1.073 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.3609, allocations: 0 / 1.073 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10): time 0.0006346/0.3615, allocations: 240.6 kB / 1.073 GB, free: 5.355 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.3616, allocations: 81.05 kB / 1.073 GB, free: 5.258 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.3619, allocations: 211.5 kB / 1.074 GB, free: 5.043 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.3619, allocations: 33.7 kB / 1.074 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.362, allocations: 155.8 kB / 1.074 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.3621, allocations: 27.56 kB / 1.074 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.571e-05/0.3622, allocations: 57.59 kB / 1.074 GB, free: 4.758 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3623, allocations: 322.8 kB / 1.074 GB, free: 4.434 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.3625, allocations: 80.81 kB / 1.074 GB, free: 4.352 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002122/0.3627, allocations: 159 kB / 1.074 GB, free: 4.156 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.3631, allocations: 242.8 kB / 1.075 GB, free: 3.879 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3631, allocations: 3.938 kB / 1.075 GB, free: 3.875 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005197/0.3636, allocations: 273.1 kB / 1.075 GB, free: 3.602 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3636, allocations: 8 kB / 1.075 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3636, allocations: 0 / 1.075 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.3637, allocations: 11.88 kB / 1.075 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.3639, allocations: 47.97 kB / 1.075 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.364, allocations: 7.938 kB / 1.075 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.3642, allocations: 32.28 kB / 1.075 GB, free: 3.496 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.3643, allocations: 12 kB / 1.075 GB, free: 3.484 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002211/0.3645, allocations: 164.1 kB / 1.075 GB, free: 3.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002034/0.3647, allocations: 160.1 kB / 1.075 GB, free: 3.125 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002929/0.365, allocations: 227.7 kB / 1.076 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.814e-06/0.365, allocations: 0 / 1.076 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004819/0.3655, allocations: 249.5 kB / 1.076 GB, free: 2.609 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.206e-05/0.3655, allocations: 12 kB / 1.076 GB, free: 2.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.3655, allocations: 4 kB / 1.076 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.741e-06/0.3655, allocations: 4 kB / 1.076 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.3657, allocations: 47.91 kB / 1.076 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3658, allocations: 7.938 kB / 1.076 GB, free: 2.535 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.366, allocations: 19.98 kB / 1.076 GB, free: 2.516 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.366, allocations: 11.98 kB / 1.076 GB, free: 2.504 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001197/0.3661, allocations: 196.2 kB / 1.076 GB, free: 2.305 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.418e-05/0.3662, allocations: 15.81 kB / 1.076 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.3665, allocations: 150.9 kB / 1.076 GB, free: 2.137 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.3665, allocations: 3.938 kB / 1.076 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3665, allocations: 128 / 1.076 GB, free: 2.133 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.3665, allocations: 11.98 kB / 1.076 GB, free: 2.121 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000947/0.3675, allocations: 0.708 MB / 1.077 GB, free: 1.328 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.3675, allocations: 4 kB / 1.077 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.3676, allocations: 36.19 kB / 1.077 GB, free: 1.289 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.3676, allocations: 8 kB / 1.077 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.3676, allocations: 4 kB / 1.077 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.3676, allocations: 0 / 1.077 GB, free: 1.277 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/0.3676, allocations: 4 kB / 1.077 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003231/0.368, allocations: 378.4 kB / 1.077 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.715e-05/0.3681, allocations: 108.9 kB / 1.077 GB, free: 0.7344 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.627e-05/0.3681, allocations: 4 kB / 1.077 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.3683, allocations: 19.92 kB / 1.077 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.3684, allocations: 15.92 kB / 1.077 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.3684, allocations: 4 kB / 1.077 GB, free: 0.6914 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001817/0.3686, allocations: 153.2 kB / 1.078 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3686, allocations: 0 / 1.078 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005341/0.3691, allocations: 68 kB / 1.078 GB, free: 488 kB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001864/0.3693, allocations: 121.8 kB / 1.078 GB, free: 360 kB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005667/0.3699, allocations: 288.8 kB / 1.078 GB, free: 72 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.3699, allocations: 0 / 1.078 GB, free: 72 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.903e-05/0.37, allocations: 63.83 kB / 1.078 GB, free: 8 kB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5134/0.8834, allocations: 25.7 kB / 1.078 GB, free: 22.41 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.8845, allocations: 442.2 kB / 1.079 GB, free: 22.14 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.8848, allocations: 0.7395 MB / 1.079 GB, free: 21.45 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.969e-05/0.8849, allocations: 22.95 kB / 1.079 GB, free: 21.44 MB / 0.8419 GB Notification: Performance of SimCode: time 1.183e-06/0.8849, allocations: 0 / 1.079 GB, free: 21.44 MB / 0.8419 GB Notification: Performance of Templates: time 0.006978/0.8919, allocations: 2.328 MB / 1.082 GB, free: 21.37 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches