Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_9_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_9_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.001492/0.001492, allocations: 116.7 kB / 16.37 MB, free: 6 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.001586/0.001587, allocations: 193.1 kB / 17.31 MB, free: 5.613 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.245/2.245, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 66 kB / 0.814 GB, free: 32.71 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3538, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004019/0.3579, allocations: 2.44 MB / 0.9535 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002161/0.3601, allocations: 1.41 MB / 0.9549 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.238e-05/0.3602, allocations: 4 kB / 0.9549 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0006307/0.3609, allocations: 175.3 kB / 0.9551 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.3611, allocations: 131.4 kB / 0.9552 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000404/0.3616, allocations: 183.5 kB / 0.9554 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002681/0.3618, allocations: 215.3 kB / 0.9556 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.3621, allocations: 125 kB / 0.9557 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.3622, allocations: 87.69 kB / 0.9558 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.3625, allocations: 107.6 kB / 0.9559 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.3625, allocations: 12 kB / 0.9559 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003005/0.3628, allocations: 179.6 kB / 0.9561 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.948e-05/0.3629, allocations: 63.88 kB / 0.9561 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.498e-05/0.363, allocations: 83.59 kB / 0.9562 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003358/0.3633, allocations: 279.2 kB / 0.9565 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3634, allocations: 0 / 0.9565 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.011e-06/0.3634, allocations: 0 / 0.9565 GB, free: 2.566 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.3634, allocations: 0 / 0.9565 GB, free: 2.566 MB / 0.7325 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.0006623/0.364, allocations: 475 kB / 0.9569 GB, free: 2.051 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3641, allocations: 12.03 kB / 0.9569 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005176/0.3646, allocations: 64.58 kB / 0.957 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.3649, allocations: 240 kB / 0.9572 GB, free: 1.703 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.3649, allocations: 8.656 kB / 0.9572 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.917e-05/0.365, allocations: 16.38 kB / 0.9572 GB, free: 1.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.3654, allocations: 279.6 kB / 0.9575 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.3654, allocations: 4 kB / 0.9575 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.3654, allocations: 4 kB / 0.9575 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-05/0.3655, allocations: 20.22 kB / 0.9575 GB, free: 1.34 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003266/0.3658, allocations: 208.5 kB / 0.9577 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00175/0.3676, allocations: 1.576 MB / 0.9593 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003784/0.368, allocations: 331.2 kB / 0.9596 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3681, allocations: 61.69 kB / 0.9597 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.3681, allocations: 3.938 kB / 0.9597 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.3681, allocations: 38.56 kB / 0.9597 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.3681, allocations: 0 / 0.9597 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0005381/0.3687, allocations: 244.7 kB / 0.9599 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.265e-05/0.3687, allocations: 89.03 kB / 0.96 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.3689, allocations: 195.4 kB / 0.9602 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.369, allocations: 25.7 kB / 0.9602 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 9.94e-05/0.3691, allocations: 155.7 kB / 0.9604 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.3691, allocations: 31.73 kB / 0.9604 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.437e-05/0.3692, allocations: 53.59 kB / 0.9605 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3693, allocations: 326.8 kB / 0.9608 GB, free: 13.77 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.3694, allocations: 76.75 kB / 0.9608 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00016/0.3696, allocations: 151.1 kB / 0.961 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.3699, allocations: 226.9 kB / 0.9612 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3699, allocations: 0 / 0.9612 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003746/0.3703, allocations: 261.2 kB / 0.9614 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.3703, allocations: 8 kB / 0.9615 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3703, allocations: 4 kB / 0.9615 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3703, allocations: 7.938 kB / 0.9615 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.3706, allocations: 47.91 kB / 0.9615 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3706, allocations: 12.3 kB / 0.9615 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.3708, allocations: 27.83 kB / 0.9616 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.3708, allocations: 8 kB / 0.9616 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001492/0.3709, allocations: 160.1 kB / 0.9617 GB, free: 12.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001477/0.3711, allocations: 148 kB / 0.9619 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002345/0.3713, allocations: 215.8 kB / 0.9621 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.056e-06/0.3714, allocations: 4 kB / 0.9621 GB, free: 12.26 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003364/0.3717, allocations: 241.1 kB / 0.9623 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/0.3717, allocations: 8 kB / 0.9623 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3717, allocations: 4 kB / 0.9623 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/0.3717, allocations: 4 kB / 0.9623 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.3719, allocations: 47.91 kB / 0.9624 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3719, allocations: 8.344 kB / 0.9624 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.3721, allocations: 23.89 kB / 0.9624 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.3721, allocations: 8 kB / 0.9624 GB, free: 11.92 MB / 0.7481 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.0001114/0.3722, allocations: 196.1 kB / 0.9626 GB, free: 11.72 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.3723, allocations: 11.91 kB / 0.9626 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002424/0.3725, allocations: 147 kB / 0.9627 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3725, allocations: 7.922 kB / 0.9627 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3725, allocations: 128 / 0.9627 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3725, allocations: 7.938 kB / 0.9627 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009184/0.3735, allocations: 0.7198 MB / 0.9634 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.3735, allocations: 4 kB / 0.9635 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.3736, allocations: 23.92 kB / 0.9635 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3736, allocations: 4 kB / 0.9635 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.3736, allocations: 8 kB / 0.9635 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.3736, allocations: 8.531 kB / 0.9635 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3736, allocations: 4 kB / 0.9635 GB, free: 10.69 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.374, allocations: 382.2 kB / 0.9639 GB, free: 10.27 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-05/0.3741, allocations: 100.9 kB / 0.964 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.3741, allocations: 8 kB / 0.964 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.3743, allocations: 11.98 kB / 0.964 GB, free: 10.13 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.3743, allocations: 19.86 kB / 0.964 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.3743, allocations: 8 kB / 0.964 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001141/0.3745, allocations: 145.1 kB / 0.9641 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3745, allocations: 4 kB / 0.9641 GB, free: 9.961 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000492/0.375, allocations: 68 kB / 0.9642 GB, free: 9.895 MB / 0.7481 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.0001575/0.3751, allocations: 117.1 kB / 0.9643 GB, free: 9.773 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004098/0.3755, allocations: 269 kB / 0.9646 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3756, allocations: 0 / 0.9646 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.954e-05/0.3756, allocations: 59.83 kB / 0.9646 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004986/0.3761, allocations: 33.47 kB / 0.9647 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000672/0.3768, allocations: 415.5 kB / 0.9651 GB, free: 8.957 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/0.3772, allocations: 0.7478 MB / 0.9658 GB, free: 8.184 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001705/0.3773, allocations: 73.5 kB / 0.9659 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.3774, allocations: 19.42 kB / 0.9659 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/0.3774, allocations: 0 / 0.9659 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of Templates: time 0.004486/0.3819, allocations: 1.748 MB / 0.9676 GB, free: 6.355 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches