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.001527/0.001527, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001822/0.001822, allocations: 192.8 kB / 16.14 MB, free: 6.711 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.741/2.741, allocations: 461.9 MB / 0.7342 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 65.14 kB / 0.8984 GB, free: 37.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3136, allocations: 157.4 MB / 1.052 GB, free: 8.895 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003833/0.3175, allocations: 2.491 MB / 1.055 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.3198, allocations: 1.586 MB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.231e-05/0.3199, allocations: 7.938 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0005977/0.3205, allocations: 167.5 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.3208, allocations: 127.5 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.3212, allocations: 175.6 kB / 1.057 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.3215, allocations: 311.2 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002968/0.3218, allocations: 129 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.3219, allocations: 67.77 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.3221, allocations: 107.6 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.3222, allocations: 16 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003511/0.3225, allocations: 247.6 kB / 1.057 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.181e-05/0.3226, allocations: 59.75 kB / 1.057 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.214e-05/0.3227, allocations: 83.58 kB / 1.058 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003653/0.3231, allocations: 307.4 kB / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3231, allocations: 0 / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.92e-07/0.3231, allocations: 0 / 1.058 GB, free: 3.023 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.3231, allocations: 3.938 kB / 1.058 GB, free: 3.02 MB / 0.8106 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.0006578/0.3238, allocations: 479 kB / 1.058 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.3238, allocations: 16.03 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007394/0.3246, allocations: 84.64 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.3248, allocations: 216.1 kB / 1.059 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.3249, allocations: 20.62 kB / 1.059 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.3249, allocations: 12.38 kB / 1.059 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.3254, allocations: 287.6 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3254, allocations: 0 / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/0.3254, allocations: 11.98 kB / 1.059 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.994e-05/0.3255, allocations: 24.16 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004064/0.3259, allocations: 224.4 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001774/0.3277, allocations: 1.599 MB / 1.061 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003806/0.3281, allocations: 315.2 kB / 1.061 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3282, allocations: 65.67 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.3282, allocations: 8.141 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.461e-05/0.3282, allocations: 42.5 kB / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.3282, allocations: 0 / 1.061 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0005499/0.3288, allocations: 240.6 kB / 1.061 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.3288, allocations: 77.11 kB / 1.061 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.3291, allocations: 211.3 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.3291, allocations: 29.89 kB / 1.062 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.717e-05/0.3292, allocations: 151.7 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.3293, allocations: 39.53 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.06e-05/0.3294, allocations: 53.59 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001217/0.3295, allocations: 326.8 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.3297, allocations: 76.81 kB / 1.062 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002145/0.3299, allocations: 167 kB / 1.062 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003179/0.3302, allocations: 234.9 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.3302, allocations: 3.984 kB / 1.063 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004714/0.3307, allocations: 273.2 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3307, allocations: 5.562 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3307, allocations: 4 kB / 1.063 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3307, allocations: 8.062 kB / 1.063 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.331, allocations: 59.89 kB / 1.063 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.515e-06/0.331, allocations: 4 kB / 1.063 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.3313, allocations: 28.12 kB / 1.063 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.3313, allocations: 16 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002047/0.3315, allocations: 168.1 kB / 1.063 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001935/0.3317, allocations: 162.9 kB / 1.063 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002974/0.332, allocations: 215.7 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.332, allocations: 7.938 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004371/0.3325, allocations: 241.2 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.3325, allocations: 8.406 kB / 1.064 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.3325, allocations: 8 kB / 1.064 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.614e-06/0.3325, allocations: 7.984 kB / 1.064 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001934/0.3327, allocations: 47.91 kB / 1.064 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.3327, allocations: 11.88 kB / 1.064 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002194/0.333, allocations: 23.89 kB / 1.064 GB, free: 12.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.985e-05/0.333, allocations: 8 kB / 1.064 GB, free: 12.23 MB / 0.8262 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.0001665/0.3332, allocations: 192.2 kB / 1.064 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.752e-05/0.3332, allocations: 15.91 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.3335, allocations: 150.9 kB / 1.064 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3335, allocations: 3.938 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3335, allocations: 3.938 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3335, allocations: 4 kB / 1.064 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009137/0.3344, allocations: 0.7196 MB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.3345, allocations: 4 kB / 1.065 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001016/0.3346, allocations: 23.98 kB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3346, allocations: 4 kB / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.3346, allocations: 352 / 1.065 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.536e-05/0.3346, allocations: 15.92 kB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3346, allocations: 4 kB / 1.065 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003097/0.3349, allocations: 382.4 kB / 1.065 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/0.335, allocations: 104.9 kB / 1.065 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.136e-05/0.3351, allocations: 7.984 kB / 1.065 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.3353, allocations: 11.98 kB / 1.065 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.164e-05/0.3353, allocations: 15.94 kB / 1.065 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.3353, allocations: 4 kB / 1.066 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001783/0.3355, allocations: 161.1 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.553e-06/0.3355, allocations: 0 / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000488/0.336, allocations: 75.94 kB / 1.066 GB, free: 10.19 MB / 0.8262 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.0001503/0.3362, allocations: 115.1 kB / 1.066 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004974/0.3367, allocations: 273 kB / 1.066 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3367, allocations: 8.062 kB / 1.066 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.389e-05/0.3368, allocations: 55.84 kB / 1.066 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004481/0.3373, allocations: 34.58 kB / 1.066 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006719/0.3379, allocations: 475.9 kB / 1.067 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.3383, allocations: 0.7441 MB / 1.067 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0002373/0.3385, allocations: 93.42 kB / 1.067 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.309e-05/0.3386, allocations: 19.38 kB / 1.067 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of SimCode: time 1.9e-07/0.3386, allocations: 0 / 1.067 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of Templates: time 0.004402/0.343, allocations: 1.798 MB / 1.069 GB, free: 6.52 MB / 0.8262 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/jenkins/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