Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.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: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006291/0.006292, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001473/0.001473, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.664/2.664, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 60.12 kB / 1.054 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3114, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.00518/0.3166, allocations: 3.223 MB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002569/0.3192, allocations: 1.363 MB / 1.212 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.3195, allocations: 11.94 kB / 1.212 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.3206, allocations: 334.7 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004307/0.3211, allocations: 143.2 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004158/0.3215, allocations: 155.5 kB / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004587/0.322, allocations: 330.9 kB / 1.213 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004507/0.3224, allocations: 251.9 kB / 1.213 GB, free: 4.352 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.3227, allocations: 139.5 kB / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003659/0.3231, allocations: 139.5 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.52e-05/0.3231, allocations: 20 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003506/0.3235, allocations: 171.6 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.3236, allocations: 87.67 kB / 1.213 GB, free: 3.805 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.3238, allocations: 123.5 kB / 1.214 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005165/0.3243, allocations: 358.8 kB / 1.214 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3243, allocations: 0 / 1.214 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3243, allocations: 0 / 1.214 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.39e-05/0.3243, allocations: 0 / 1.214 GB, free: 3.332 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009585/0.3253, allocations: 0.5418 MB / 1.214 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3253, allocations: 8.625 kB / 1.214 GB, free: 2.734 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.702e-05/0.3254, allocations: 62.7 kB / 1.215 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005831/0.326, allocations: 76.59 kB / 1.215 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003479/0.3264, allocations: 259.9 kB / 1.215 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3264, allocations: 12.81 kB / 1.215 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.3264, allocations: 24.36 kB / 1.215 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004858/0.3269, allocations: 316.4 kB / 1.215 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.3269, allocations: 4 kB / 1.215 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.327, allocations: 12 kB / 1.215 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.211e-05/0.327, allocations: 16.42 kB / 1.215 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003544/0.3274, allocations: 213.6 kB / 1.215 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001558/0.3289, allocations: 1.494 MB / 1.217 GB, free: 28 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.3294, allocations: 203.7 kB / 1.217 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.428e-05/0.3295, allocations: 48.83 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.3295, allocations: 0 / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.3295, allocations: 38.5 kB / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/0.3296, allocations: 0 / 1.217 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005787/0.3301, allocations: 259.3 kB / 1.217 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.3302, allocations: 51.41 kB / 1.217 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.3304, allocations: 207.7 kB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.3304, allocations: 29.7 kB / 1.218 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.3306, allocations: 179.6 kB / 1.218 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.3306, allocations: 31.64 kB / 1.218 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.906e-05/0.3307, allocations: 37.61 kB / 1.218 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3308, allocations: 326.8 kB / 1.218 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.3309, allocations: 48.03 kB / 1.218 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.3311, allocations: 116.5 kB / 1.218 GB, free: 14.34 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002494/0.3313, allocations: 164.4 kB / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3314, allocations: 0 / 1.219 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003846/0.3317, allocations: 206.3 kB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.3318, allocations: 8 kB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3318, allocations: 4.094 kB / 1.219 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000182/0.332, allocations: 32.72 kB / 1.219 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.3321, allocations: 35.91 kB / 1.219 GB, free: 13.85 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.3333, allocations: 1.421 MB / 1.22 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001532/0.3335, allocations: 23.86 kB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.3335, allocations: 8.156 kB / 1.22 GB, free: 12.26 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.3337, allocations: 153.7 kB / 1.22 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.3337, allocations: 15.81 kB / 1.22 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.372e-05/0.3338, allocations: 21.39 kB / 1.22 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3338, allocations: 0 / 1.22 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3338, allocations: 0 / 1.22 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3338, allocations: 0 / 1.22 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006573/0.3344, allocations: 495.5 kB / 1.221 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3345, allocations: 0 / 1.221 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.252e-05/0.3345, allocations: 11.98 kB / 1.221 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-05/0.3346, allocations: 28.83 kB / 1.221 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3346, allocations: 0 / 1.221 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001007/0.3356, allocations: 1.43 MB / 1.222 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.3357, allocations: 0 / 1.222 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.336, allocations: 240.4 kB / 1.223 GB, free: 9.656 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.336, allocations: 104.8 kB / 1.223 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.3361, allocations: 3.938 kB / 1.223 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/0.3362, allocations: 4 kB / 1.223 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.3362, allocations: 11.98 kB / 1.223 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.3362, allocations: 4 kB / 1.223 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001308/0.3364, allocations: 153.5 kB / 1.223 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3364, allocations: 0 / 1.223 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003329/0.3367, allocations: 59.75 kB / 1.223 GB, free: 9.305 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006031/0.3373, allocations: 0.7706 MB / 1.224 GB, free: 8.504 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004492/0.3378, allocations: 222.5 kB / 1.224 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.3378, allocations: 3.938 kB / 1.224 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/0.338, allocations: 162.7 kB / 1.224 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.3384, allocations: 37.86 kB / 1.224 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.3409, allocations: 2.146 MB / 1.226 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/0.3413, allocations: 0.7554 MB / 1.227 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001025/0.3414, allocations: 25.53 kB / 1.227 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.196e-05/0.3415, allocations: 59.41 kB / 1.227 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of SimCode: time 2.1e-07/0.3415, allocations: 0 / 1.227 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02361/0.3651, allocations: 4.072 MB / 1.231 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.204/9.569, allocations: 0 / 1.231 GB, free: 0.9922 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches