Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001768/0.001768, allocations: 104.4 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.002379/0.002378, allocations: 193.2 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.405/1.405, 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 10.1.0-maint.10.0.x/package.mo): time 2.479/2.479, allocations: 437.1 MB / 0.7112 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 64.83 kB / 0.8707 GB, free: 1.387 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3032, allocations: 151.6 MB / 1.019 GB, free: 9.793 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.005027/0.3082, allocations: 2.439 MB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002431/0.3107, allocations: 1.418 MB / 1.023 GB, free: 5.91 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.3109, allocations: 4 kB / 1.023 GB, free: 5.906 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008511/0.3118, allocations: 179.2 kB / 1.023 GB, free: 5.73 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0004592/0.3123, allocations: 131.4 kB / 1.023 GB, free: 5.602 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006537/0.3129, allocations: 176 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004573/0.3134, allocations: 219.3 kB / 1.023 GB, free: 5.215 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003632/0.3138, allocations: 121 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.314, allocations: 91.61 kB / 1.023 GB, free: 5.004 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004262/0.3145, allocations: 107.6 kB / 1.024 GB, free: 4.898 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.249e-05/0.3145, allocations: 16 kB / 1.024 GB, free: 4.883 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004631/0.315, allocations: 171.7 kB / 1.024 GB, free: 4.715 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.3151, allocations: 67.86 kB / 1.024 GB, free: 4.648 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.3153, allocations: 79.55 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000592/0.3159, allocations: 279.2 kB / 1.024 GB, free: 4.297 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.3159, allocations: 4 kB / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.847e-06/0.3159, allocations: 0 / 1.024 GB, free: 4.293 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.3159, allocations: 0 / 1.024 GB, free: 4.293 MB / 0.795 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.001167/0.3171, allocations: 478.9 kB / 1.025 GB, free: 3.773 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.3172, allocations: 20.02 kB / 1.025 GB, free: 3.754 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000697/0.3179, allocations: 68.62 kB / 1.025 GB, free: 3.688 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003688/0.3183, allocations: 224.1 kB / 1.025 GB, free: 3.43 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.3183, allocations: 8.656 kB / 1.025 GB, free: 3.422 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.424e-05/0.3183, allocations: 16.38 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005511/0.3189, allocations: 283.6 kB / 1.025 GB, free: 3.094 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.3189, allocations: 0 / 1.025 GB, free: 3.094 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.956e-05/0.319, allocations: 8 kB / 1.025 GB, free: 3.086 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.284e-05/0.319, allocations: 16.22 kB / 1.025 GB, free: 3.066 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003709/0.3194, allocations: 209.4 kB / 1.025 GB, free: 2.863 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001877/0.3213, allocations: 1.583 MB / 1.027 GB, free: 1.145 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000416/0.3217, allocations: 319.3 kB / 1.027 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.3218, allocations: 65.62 kB / 1.027 GB, free: 0.707 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.3219, allocations: 7.984 kB / 1.027 GB, free: 0.6992 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.3219, allocations: 30.56 kB / 1.027 GB, free: 0.6602 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.3219, allocations: 4 kB / 1.027 GB, free: 0.6562 MB / 0.795 GB Notification: Performance of matching and sorting (n=10): time 0.0006385/0.3225, allocations: 240.7 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.3226, allocations: 81.11 kB / 1.028 GB, free: 324 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002298/0.3229, allocations: 199.9 kB / 1.028 GB, free: 116 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.3229, allocations: 33.69 kB / 1.028 GB, free: 76 kB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.323, allocations: 151.9 kB / 1.028 GB, free: 15.92 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.475e-05/0.3231, allocations: 31.56 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.554e-05/0.3232, allocations: 57.53 kB / 1.028 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.3233, allocations: 322.8 kB / 1.028 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.3234, allocations: 76.81 kB / 1.028 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.3236, allocations: 147.1 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.3239, allocations: 234.9 kB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3239, allocations: 0 / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004056/0.3243, allocations: 257.1 kB / 1.029 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.3243, allocations: 8 kB / 1.029 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.3243, allocations: 0 / 1.029 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.3244, allocations: 12.31 kB / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002268/0.3246, allocations: 55.89 kB / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.44e-05/0.3246, allocations: 7.938 kB / 1.029 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001622/0.3248, allocations: 19.92 kB / 1.029 GB, free: 14.61 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.121e-05/0.3248, allocations: 12 kB / 1.029 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001602/0.325, allocations: 158.3 kB / 1.029 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001509/0.3251, allocations: 156 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002293/0.3254, allocations: 207.8 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.405e-06/0.3254, allocations: 4 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003514/0.3257, allocations: 237.1 kB / 1.03 GB, free: 13.76 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.3258, allocations: 8 kB / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.3258, allocations: 3.938 kB / 1.03 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/0.3258, allocations: 8.406 kB / 1.03 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.326, allocations: 51.91 kB / 1.03 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.326, allocations: 7.938 kB / 1.03 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.3261, allocations: 15.89 kB / 1.03 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.3261, allocations: 16 kB / 1.03 GB, free: 13.65 MB / 0.8106 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.0001108/0.3263, allocations: 188.2 kB / 1.03 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.892e-05/0.3263, allocations: 7.906 kB / 1.03 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.3266, allocations: 159 kB / 1.03 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.3266, allocations: 7.938 kB / 1.03 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.3266, allocations: 8 kB / 1.03 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3266, allocations: 0 / 1.03 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009627/0.3276, allocations: 0.7197 MB / 1.031 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.3276, allocations: 4 kB / 1.031 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001056/0.3277, allocations: 27.91 kB / 1.031 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.121e-06/0.3278, allocations: 4 kB / 1.031 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.3278, allocations: 4 kB / 1.031 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.3278, allocations: 4 kB / 1.031 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3278, allocations: 4 kB / 1.031 GB, free: 12.43 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.3281, allocations: 390.6 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.918e-05/0.3282, allocations: 100.9 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.588e-05/0.3283, allocations: 7.984 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.3284, allocations: 12 kB / 1.032 GB, free: 11.87 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.3285, allocations: 15.86 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.3285, allocations: 4 kB / 1.032 GB, free: 11.85 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.000116/0.3286, allocations: 149.2 kB / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3286, allocations: 0 / 1.032 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0005046/0.3291, allocations: 72 kB / 1.032 GB, free: 11.63 MB / 0.8106 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.000157/0.3293, allocations: 117.1 kB / 1.032 GB, free: 11.51 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.3297, allocations: 264.4 kB / 1.032 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3297, allocations: 0 / 1.032 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.928e-05/0.3298, allocations: 63.83 kB / 1.032 GB, free: 11.19 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004907/0.3303, allocations: 31.23 kB / 1.032 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.331, allocations: 415.2 kB / 1.033 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002964/0.3314, allocations: 0.7363 MB / 1.033 GB, free: 9.938 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001782/0.3315, allocations: 74 kB / 1.034 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.036e-05/0.3316, allocations: 15.44 kB / 1.034 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.3316, allocations: 0 / 1.034 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of Templates: time 0.004954/0.3366, allocations: 1.768 MB / 1.035 GB, free: 8.098 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches