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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001184/0.001184, allocations: 103.8 kB / 15.99 MB, free: 6.348 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.001173/0.001173, allocations: 198 kB / 16.91 MB, free: 6.188 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.405/1.405, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.293/2.293, allocations: 390.2 MB / 0.665 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 64.86 kB / 0.8127 GB, free: 33.3 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3362, allocations: 140.4 MB / 0.9498 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004449/0.3406, allocations: 2.493 MB / 0.9522 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002542/0.3432, allocations: 1.544 MB / 0.9537 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001664/0.3434, allocations: 4 kB / 0.9537 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007883/0.3442, allocations: 171.4 kB / 0.9539 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004856/0.3447, allocations: 139.5 kB / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005604/0.3453, allocations: 171.4 kB / 0.9542 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003348/0.3456, allocations: 219.3 kB / 0.9544 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003649/0.346, allocations: 141 kB / 0.9545 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.3462, allocations: 83.62 kB / 0.9546 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.3465, allocations: 107.7 kB / 0.9547 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.416e-05/0.3465, allocations: 15.94 kB / 0.9547 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.347, allocations: 211.6 kB / 0.9549 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.3471, allocations: 59.88 kB / 0.955 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001012/0.3472, allocations: 83.59 kB / 0.9551 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004215/0.3476, allocations: 231.7 kB / 0.9553 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3476, allocations: 0 / 0.9553 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.877e-06/0.3476, allocations: 0 / 0.9553 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.3477, allocations: 7.938 kB / 0.9553 GB, free: 3.555 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.0008281/0.3485, allocations: 483.1 kB / 0.9558 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3485, allocations: 8.031 kB / 0.9558 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008523/0.3494, allocations: 88.55 kB / 0.9558 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000297/0.3497, allocations: 220.1 kB / 0.9561 GB, free: 2.688 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.3497, allocations: 12.64 kB / 0.9561 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.409e-05/0.3498, allocations: 24.36 kB / 0.9561 GB, free: 2.652 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005314/0.3503, allocations: 283.6 kB / 0.9564 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.3504, allocations: 8 kB / 0.9564 GB, free: 2.336 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.943e-05/0.3504, allocations: 4 kB / 0.9564 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.975e-05/0.3504, allocations: 16.22 kB / 0.9564 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004448/0.3509, allocations: 228.4 kB / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002021/0.3529, allocations: 1.607 MB / 0.9582 GB, free: 356 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004247/0.3534, allocations: 327.3 kB / 0.9585 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.3535, allocations: 65.67 kB / 0.9586 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.266e-05/0.3535, allocations: 4.141 kB / 0.9586 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.3536, allocations: 34.69 kB / 0.9586 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 1.984e-06/0.3536, allocations: 0 / 0.9586 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006586/0.3542, allocations: 240.5 kB / 0.9588 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.3543, allocations: 85.3 kB / 0.9589 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.3546, allocations: 207.4 kB / 0.9591 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.3547, allocations: 25.7 kB / 0.9591 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.3548, allocations: 155.7 kB / 0.9593 GB, free: 15.11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.3548, allocations: 35.53 kB / 0.9593 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.355, allocations: 57.59 kB / 0.9594 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.3551, allocations: 322.8 kB / 0.9597 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002013/0.3554, allocations: 84.75 kB / 0.9597 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002114/0.3556, allocations: 158.6 kB / 0.9599 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003413/0.3559, allocations: 238.9 kB / 0.9601 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3559, allocations: 4 kB / 0.9601 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000526/0.3565, allocations: 269.1 kB / 0.9604 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.3565, allocations: 8 kB / 0.9604 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.3565, allocations: 4 kB / 0.9604 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3565, allocations: 7.938 kB / 0.9604 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.3568, allocations: 60.27 kB / 0.9605 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.3568, allocations: 4 kB / 0.9605 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.3571, allocations: 31.81 kB / 0.9605 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/0.3571, allocations: 8 kB / 0.9605 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002323/0.3574, allocations: 168.1 kB / 0.9607 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001887/0.3576, allocations: 155.9 kB / 0.9608 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002939/0.3579, allocations: 215.8 kB / 0.961 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.054e-06/0.3579, allocations: 3.938 kB / 0.961 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004523/0.3584, allocations: 245.4 kB / 0.9613 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.929e-06/0.3584, allocations: 4 kB / 0.9613 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3584, allocations: 7.984 kB / 0.9613 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.219e-06/0.3584, allocations: 4 kB / 0.9613 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.3586, allocations: 55.91 kB / 0.9613 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.3586, allocations: 11.88 kB / 0.9613 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002311/0.3589, allocations: 24.14 kB / 0.9614 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.3589, allocations: 12 kB / 0.9614 GB, free: 12.76 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.0001264/0.359, allocations: 188.2 kB / 0.9616 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.3591, allocations: 11.89 kB / 0.9616 GB, free: 12.56 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.3594, allocations: 146.9 kB / 0.9617 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.954e-06/0.3594, allocations: 11.88 kB / 0.9617 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3594, allocations: 0 / 0.9617 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3594, allocations: 0 / 0.9617 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009551/0.3604, allocations: 0.7238 MB / 0.9624 GB, free: 11.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.3604, allocations: 8.062 kB / 0.9624 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.3605, allocations: 23.98 kB / 0.9625 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.652e-06/0.3605, allocations: 7.938 kB / 0.9625 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.3605, allocations: 4 kB / 0.9625 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.3605, allocations: 7.984 kB / 0.9625 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.3605, allocations: 7.938 kB / 0.9625 GB, free: 11.53 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.3609, allocations: 378.4 kB / 0.9628 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.683e-05/0.361, allocations: 108.9 kB / 0.9629 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.039e-05/0.361, allocations: 15.98 kB / 0.963 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.3612, allocations: 11.98 kB / 0.963 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.3613, allocations: 11.94 kB / 0.963 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.3613, allocations: 8 kB / 0.963 GB, free: 10.95 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000183/0.3615, allocations: 164.8 kB / 0.9631 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3615, allocations: 0 / 0.9631 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005377/0.362, allocations: 68 kB / 0.9632 GB, free: 10.72 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.0001614/0.3622, allocations: 119.1 kB / 0.9633 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005384/0.3628, allocations: 280.2 kB / 0.9636 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3628, allocations: 7.938 kB / 0.9636 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.606e-05/0.3629, allocations: 57.28 kB / 0.9637 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004893/0.3634, allocations: 33.17 kB / 0.9637 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007605/0.3641, allocations: 0.4966 MB / 0.9642 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.3645, allocations: 0.7439 MB / 0.9649 GB, free: 8.895 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.3645, allocations: 19.44 kB / 0.9649 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of SimCode: time 2.6e-07/0.3645, allocations: 0 / 0.9649 GB, free: 8.875 MB / 0.7481 GB Notification: Performance of Templates: time 0.005035/0.3696, allocations: 2.321 MB / 0.9672 GB, free: 6.555 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 -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