Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_10_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.001333/0.001333, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001156/0.001156, allocations: 188.8 kB / 16.25 MB, free: 6.633 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.2/1.2, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.269/2.269, allocations: 437 MB / 0.7101 GB, free: 5.25 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001441/0.001441, allocations: 63.91 kB / 0.8689 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5408/0.5422, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004014/0.5463, allocations: 3.276 MB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.548, allocations: 1.356 MB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.653e-05/0.5481, allocations: 7.938 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007972/0.5489, allocations: 318.9 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.5492, allocations: 143.4 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.5495, allocations: 137 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.5498, allocations: 326.9 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.5502, allocations: 277.9 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001538/0.5503, allocations: 135.5 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.5506, allocations: 147.5 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.5506, allocations: 20 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002227/0.5508, allocations: 171.6 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.119e-05/0.5509, allocations: 91.72 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.5511, allocations: 119.5 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003555/0.5514, allocations: 366.8 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.5514, allocations: 0 / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.21e-07/0.5514, allocations: 0 / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.5514, allocations: 0 / 1.024 GB, free: 11.85 MB / 0.7794 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.0006974/0.5521, allocations: 0.538 MB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.5522, allocations: 12.03 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.085e-05/0.5523, allocations: 62.73 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004977/0.5528, allocations: 76.58 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.553, allocations: 257.3 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.553, allocations: 12.81 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.5531, allocations: 20.38 kB / 1.025 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004437/0.5535, allocations: 316.4 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.5535, allocations: 0 / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.5536, allocations: 12 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.811e-05/0.5536, allocations: 16.42 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/0.554, allocations: 213.6 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.5553, allocations: 1.498 MB / 1.027 GB, free: 8.547 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003668/0.5557, allocations: 207.6 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.381e-05/0.5558, allocations: 48.83 kB / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.073e-05/0.5558, allocations: 0 / 1.027 GB, free: 8.266 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.5559, allocations: 30.56 kB / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 8.22e-07/0.5559, allocations: 0 / 1.027 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0004731/0.5563, allocations: 263.3 kB / 1.027 GB, free: 7.941 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.5564, allocations: 51.41 kB / 1.027 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001681/0.5566, allocations: 204.8 kB / 1.027 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/0.5566, allocations: 29.64 kB / 1.027 GB, free: 7.637 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.853e-05/0.5567, allocations: 187.5 kB / 1.028 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.5567, allocations: 31.64 kB / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.5568, allocations: 41.61 kB / 1.028 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.5569, allocations: 326.8 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.557, allocations: 43.97 kB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.5571, allocations: 110.8 kB / 1.028 GB, free: 6.859 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.5573, allocations: 172.4 kB / 1.028 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.5573, allocations: 0 / 1.028 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003315/0.5577, allocations: 210.2 kB / 1.028 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.5577, allocations: 9.562 kB / 1.028 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.5577, allocations: 0 / 1.028 GB, free: 6.438 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/0.5578, allocations: 32.78 kB / 1.028 GB, free: 6.402 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.558, allocations: 27.98 kB / 1.028 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009499/0.5589, allocations: 1.429 MB / 1.03 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.5591, allocations: 27.89 kB / 1.03 GB, free: 4.777 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.5591, allocations: 8 kB / 1.03 GB, free: 4.77 MB / 0.7794 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.0001171/0.5592, allocations: 154.2 kB / 1.03 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.704e-05/0.5592, allocations: 15.81 kB / 1.03 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.799e-05/0.5593, allocations: 21.39 kB / 1.03 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.5593, allocations: 0 / 1.03 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.5593, allocations: 0 / 1.03 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5593, allocations: 3.984 kB / 1.03 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005244/0.5598, allocations: 491.6 kB / 1.031 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.5598, allocations: 0 / 1.031 GB, free: 4.035 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.975e-05/0.5599, allocations: 12.08 kB / 1.031 GB, free: 4.023 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.119e-05/0.56, allocations: 32.72 kB / 1.031 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.56, allocations: 0 / 1.031 GB, free: 3.988 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008577/0.5608, allocations: 1.421 MB / 1.032 GB, free: 2.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.5609, allocations: 8.094 kB / 1.032 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002577/0.5611, allocations: 236 kB / 1.032 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.483e-05/0.5612, allocations: 100.9 kB / 1.032 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.5612, allocations: 0 / 1.032 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.5613, allocations: 4 kB / 1.032 GB, free: 2.051 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.145e-05/0.5614, allocations: 15.98 kB / 1.032 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.5614, allocations: 0 / 1.032 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001036/0.5615, allocations: 152.4 kB / 1.032 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5615, allocations: 0 / 1.032 GB, free: 1.887 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002853/0.5618, allocations: 55.84 kB / 1.033 GB, free: 1.832 MB / 0.7794 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.0004876/0.5623, allocations: 0.7755 MB / 1.033 GB, free: 1.027 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.5627, allocations: 238.5 kB / 1.034 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.5627, allocations: 0 / 1.034 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/0.5629, allocations: 167.2 kB / 1.034 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.5632, allocations: 42.02 kB / 1.034 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.5652, allocations: 2.213 MB / 1.036 GB, free: 14.21 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.5655, allocations: 0.7593 MB / 1.037 GB, free: 13.43 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.659e-05/0.5656, allocations: 25.72 kB / 1.037 GB, free: 13.4 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.5657, allocations: 55.42 kB / 1.037 GB, free: 13.34 MB / 0.795 GB Notification: Performance of SimCode: time 2.61e-07/0.5657, allocations: 3.938 kB / 1.037 GB, free: 13.34 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.446/3.012, allocations: 3.846 MB / 1.04 GB, free: 9.668 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000203/3.012, allocations: 232.1 kB / 1.041 GB, free: 9.406 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/5.138, allocations: 0 / 1.041 GB, free: 9.406 MB / 0.795 GB (rm -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches