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.001481/0.001481, allocations: 103.8 kB / 16.35 MB, free: 5.828 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.001662/0.001662, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 15.15 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.324/2.324, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 60.66 kB / 0.814 GB, free: 32.72 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.35, allocations: 140.4 MB / 0.9511 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.005093/0.3552, allocations: 2.443 MB / 0.9535 GB, free: 5.609 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002627/0.3579, allocations: 1.41 MB / 0.9549 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001438/0.358, allocations: 4 kB / 0.9549 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007235/0.3588, allocations: 179.2 kB / 0.9551 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003701/0.3592, allocations: 127.5 kB / 0.9552 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005277/0.3597, allocations: 183.5 kB / 0.9554 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002995/0.36, allocations: 219.3 kB / 0.9556 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003452/0.3604, allocations: 121 kB / 0.9557 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001539/0.3606, allocations: 87.69 kB / 0.9558 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002549/0.3608, allocations: 99.64 kB / 0.9559 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.593e-05/0.3609, allocations: 12 kB / 0.9559 GB, free: 3.176 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003161/0.3612, allocations: 183.6 kB / 0.956 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.174e-05/0.3613, allocations: 63.81 kB / 0.9561 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 9.664e-05/0.3614, allocations: 83.59 kB / 0.9562 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004601/0.3619, allocations: 279.2 kB / 0.9565 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.3619, allocations: 4 kB / 0.9565 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.356e-06/0.3619, allocations: 0 / 0.9565 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.3619, allocations: 0 / 0.9565 GB, free: 2.574 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.001001/0.3629, allocations: 475 kB / 0.9569 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.363, allocations: 12.03 kB / 0.9569 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005964/0.3636, allocations: 64.58 kB / 0.957 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.3639, allocations: 226.5 kB / 0.9572 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.364, allocations: 12.66 kB / 0.9572 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.373e-05/0.364, allocations: 24.3 kB / 0.9572 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004881/0.3645, allocations: 275.6 kB / 0.9575 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.3645, allocations: 4 kB / 0.9575 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.3646, allocations: 8 kB / 0.9575 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.768e-05/0.3646, allocations: 20.22 kB / 0.9575 GB, free: 1.352 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003338/0.365, allocations: 212.4 kB / 0.9577 GB, free: 1.145 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.3668, allocations: 1.572 MB / 0.9593 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004061/0.3672, allocations: 331.2 kB / 0.9596 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.3673, allocations: 61.69 kB / 0.9596 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.667e-05/0.3673, allocations: 3.938 kB / 0.9596 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.363e-05/0.3674, allocations: 34.56 kB / 0.9597 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 2.906e-06/0.3674, allocations: 0 / 0.9597 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=10): time 0.0006079/0.368, allocations: 244.6 kB / 0.9599 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.3681, allocations: 85.05 kB / 0.96 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.3683, allocations: 199.4 kB / 0.9602 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.3683, allocations: 25.7 kB / 0.9602 GB, free: 14.36 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3684, allocations: 159.8 kB / 0.9604 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.3685, allocations: 31.55 kB / 0.9604 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.974e-05/0.3685, allocations: 49.59 kB / 0.9604 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3687, allocations: 327 kB / 0.9607 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001163/0.3688, allocations: 76.77 kB / 0.9608 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001874/0.369, allocations: 155 kB / 0.961 GB, free: 13.52 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.3693, allocations: 230.9 kB / 0.9612 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3694, allocations: 0 / 0.9612 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004222/0.3698, allocations: 261.3 kB / 0.9614 GB, free: 12.99 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.3698, allocations: 9.875 kB / 0.9614 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3698, allocations: 4 kB / 0.9615 GB, free: 12.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.3699, allocations: 7.938 kB / 0.9615 GB, free: 12.97 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.3701, allocations: 47.91 kB / 0.9615 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.3701, allocations: 4 kB / 0.9615 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001501/0.3703, allocations: 23.83 kB / 0.9615 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.3703, allocations: 11.98 kB / 0.9615 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001611/0.3705, allocations: 160.4 kB / 0.9617 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001505/0.3706, allocations: 155 kB / 0.9618 GB, free: 12.53 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000232/0.3709, allocations: 215.8 kB / 0.9621 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.537e-06/0.3709, allocations: 4 kB / 0.9621 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003317/0.3712, allocations: 237.4 kB / 0.9623 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.3712, allocations: 8 kB / 0.9623 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.3712, allocations: 4 kB / 0.9623 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.264e-06/0.3713, allocations: 4 kB / 0.9623 GB, free: 12.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.3714, allocations: 48.03 kB / 0.9623 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.154e-05/0.3714, allocations: 11.94 kB / 0.9624 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.3716, allocations: 19.84 kB / 0.9624 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.3716, allocations: 11.98 kB / 0.9624 GB, free: 11.93 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.0001302/0.3717, allocations: 200.4 kB / 0.9626 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.3718, allocations: 11.91 kB / 0.9626 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.3721, allocations: 147 kB / 0.9627 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.3721, allocations: 3.938 kB / 0.9627 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3721, allocations: 0 / 0.9627 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.3721, allocations: 3.984 kB / 0.9627 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009621/0.3731, allocations: 0.7156 MB / 0.9634 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.3731, allocations: 7.938 kB / 0.9634 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.3732, allocations: 27.92 kB / 0.9635 GB, free: 10.72 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.3732, allocations: 8.344 kB / 0.9635 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3732, allocations: 4 kB / 0.9635 GB, free: 10.71 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.3733, allocations: 7.984 kB / 0.9635 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.3733, allocations: 7.938 kB / 0.9635 GB, free: 10.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.3736, allocations: 378.2 kB / 0.9639 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.727e-05/0.3737, allocations: 100.9 kB / 0.964 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.3738, allocations: 8 kB / 0.964 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.3739, allocations: 15.98 kB / 0.964 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.374, allocations: 19.86 kB / 0.964 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.374, allocations: 4 kB / 0.964 GB, free: 10.12 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001301/0.3741, allocations: 149.1 kB / 0.9641 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3741, allocations: 0 / 0.9641 GB, free: 9.973 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004952/0.3746, allocations: 68 kB / 0.9642 GB, free: 9.906 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.0001778/0.3748, allocations: 111.1 kB / 0.9643 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000436/0.3753, allocations: 272.9 kB / 0.9646 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3753, allocations: 0 / 0.9646 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 8.035e-05/0.3754, allocations: 60.34 kB / 0.9646 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.3758, allocations: 31.97 kB / 0.9647 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007118/0.3766, allocations: 415.1 kB / 0.9651 GB, free: 8.969 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.3769, allocations: 0.74 MB / 0.9658 GB, free: 8.203 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001688/0.3771, allocations: 78.05 kB / 0.9659 GB, free: 8.129 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.3771, allocations: 19.42 kB / 0.9659 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.3771, allocations: 0 / 0.9659 GB, free: 8.109 MB / 0.7481 GB Notification: Performance of Templates: time 0.004487/0.3816, allocations: 1.752 MB / 0.9676 GB, free: 6.367 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 cvode -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