Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_9_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.001035/0.001035, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001144/0.001145, allocations: 192 kB / 16.53 MB, free: 6.391 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.225/2.225, allocations: 390.2 MB / 0.6647 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.91 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5001/0.5014, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003931/0.5054, allocations: 3.208 MB / 0.9528 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001605/0.507, allocations: 1.369 MB / 0.9542 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001082/0.5071, allocations: 4.844 kB / 0.9542 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0008184/0.508, allocations: 343.3 kB / 0.9545 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002434/0.5082, allocations: 145.3 kB / 0.9547 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.5085, allocations: 148 kB / 0.9548 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002476/0.5088, allocations: 341.5 kB / 0.9551 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003532/0.5091, allocations: 258.6 kB / 0.9554 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001435/0.5093, allocations: 137.5 kB / 0.9555 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000216/0.5095, allocations: 150.7 kB / 0.9556 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.5095, allocations: 19.31 kB / 0.9557 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.5098, allocations: 172 kB / 0.9558 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.177e-05/0.5099, allocations: 79.73 kB / 0.9559 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.51, allocations: 125.3 kB / 0.956 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003128/0.5103, allocations: 345.5 kB / 0.9564 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5103, allocations: 0 / 0.9564 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5103, allocations: 4 kB / 0.9564 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.936e-06/0.5103, allocations: 1.812 kB / 0.9564 GB, free: 4.238 MB / 0.7169 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.000632/0.511, allocations: 0.5346 MB / 0.9569 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.511, allocations: 9.625 kB / 0.9569 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.5111, allocations: 62.91 kB / 0.9569 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005306/0.5116, allocations: 84.58 kB / 0.957 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.5118, allocations: 245.5 kB / 0.9573 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.5118, allocations: 19.69 kB / 0.9573 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.5119, allocations: 18.12 kB / 0.9573 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003826/0.5123, allocations: 325.9 kB / 0.9576 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.5123, allocations: 5.531 kB / 0.9576 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.333e-05/0.5123, allocations: 5.406 kB / 0.9576 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.898e-05/0.5123, allocations: 14.62 kB / 0.9576 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00032/0.5127, allocations: 214.4 kB / 0.9578 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.5138, allocations: 1.501 MB / 0.9593 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003532/0.5141, allocations: 202.3 kB / 0.9595 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.359e-05/0.5142, allocations: 46.58 kB / 0.9595 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.5143, allocations: 1.062 kB / 0.9595 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.341e-05/0.5143, allocations: 35.67 kB / 0.9596 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.5143, allocations: 0 / 0.9596 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004648/0.5148, allocations: 264.6 kB / 0.9598 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.632e-05/0.5148, allocations: 52.44 kB / 0.9599 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.5149, allocations: 209 kB / 0.9601 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.5149, allocations: 25.7 kB / 0.9601 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.515, allocations: 176.9 kB / 0.9603 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.709e-05/0.515, allocations: 28.02 kB / 0.9603 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.058e-05/0.5151, allocations: 38.09 kB / 0.9603 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.882e-05/0.5151, allocations: 334.5 kB / 0.9607 GB, free: 320 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.566e-05/0.5152, allocations: 40.89 kB / 0.9607 GB, free: 304 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.836e-05/0.5153, allocations: 112.1 kB / 0.9608 GB, free: 192 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.5155, allocations: 176.1 kB / 0.961 GB, free: 40 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.5155, allocations: 1.25 kB / 0.961 GB, free: 40 kB / 0.7169 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003656/0.5159, allocations: 207.6 kB / 0.9612 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.5159, allocations: 6.531 kB / 0.9612 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5159, allocations: 6.188 kB / 0.9612 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001388/0.5161, allocations: 30.56 kB / 0.9612 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.5162, allocations: 31.92 kB / 0.9612 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000924/0.5172, allocations: 1.422 MB / 0.9626 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.5173, allocations: 18.75 kB / 0.9626 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.5173, allocations: 11.06 kB / 0.9627 GB, free: 14.41 MB / 0.7325 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.000117/0.5174, allocations: 158.6 kB / 0.9628 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.5175, allocations: 15.44 kB / 0.9628 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.5175, allocations: 21.55 kB / 0.9628 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.5175, allocations: 1.344 kB / 0.9628 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.5175, allocations: 3.984 kB / 0.9628 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.5175, allocations: 0 / 0.9628 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.5181, allocations: 486.1 kB / 0.9633 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5181, allocations: 0 / 0.9633 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.424e-05/0.5182, allocations: 18.05 kB / 0.9633 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.272e-05/0.5183, allocations: 27.33 kB / 0.9634 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.5183, allocations: 4 kB / 0.9634 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008204/0.5191, allocations: 1.423 MB / 0.9647 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5191, allocations: 0 / 0.9647 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002552/0.5194, allocations: 239.5 kB / 0.965 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.5194, allocations: 99.34 kB / 0.9651 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.5195, allocations: 0 / 0.9651 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.5196, allocations: 9.812 kB / 0.9651 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.5196, allocations: 11.77 kB / 0.9651 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.5197, allocations: 3.938 kB / 0.9651 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001047/0.5198, allocations: 153.9 kB / 0.9652 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5198, allocations: 0 / 0.9652 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003102/0.5201, allocations: 60.47 kB / 0.9653 GB, free: 11.86 MB / 0.7325 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.0004882/0.5206, allocations: 0.7724 MB / 0.9661 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000373/0.521, allocations: 234.1 kB / 0.9663 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.521, allocations: 0 / 0.9663 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001855/0.5212, allocations: 161 kB / 0.9664 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.5215, allocations: 51.38 kB / 0.9665 GB, free: 10.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.5236, allocations: 2.139 MB / 0.9686 GB, free: 8.996 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.5239, allocations: 0.7518 MB / 0.9693 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001067/0.524, allocations: 27.12 kB / 0.9693 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.5241, allocations: 58.7 kB / 0.9694 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of SimCode: time 2.01e-07/0.5241, allocations: 1.312 kB / 0.9694 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.641/3.165, allocations: 3.926 MB / 0.9732 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.83/17.99, allocations: 13.05 kB / 0.9732 GB, free: 6.223 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches