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.001747/0.001752, 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.002147/0.002147, allocations: 193.3 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.269/1.269, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.274/2.274, allocations: 437 MB / 0.7104 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 59.91 kB / 0.8693 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4998/0.5012, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004614/0.5059, allocations: 3.222 MB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002192/0.5081, allocations: 1.371 MB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001917/0.5083, allocations: 4 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0009083/0.5092, allocations: 354.3 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003652/0.5096, allocations: 147.2 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.51, allocations: 151.6 kB / 1.023 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.5104, allocations: 330.9 kB / 1.023 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004494/0.5108, allocations: 250 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.5111, allocations: 139.5 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.5114, allocations: 143.4 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.042e-05/0.5114, allocations: 20 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.5117, allocations: 167.6 kB / 1.024 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.438e-05/0.5119, allocations: 87.73 kB / 1.024 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.512, allocations: 119.5 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004116/0.5124, allocations: 362.8 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.5124, allocations: 0 / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5124, allocations: 0 / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.5124, allocations: 0 / 1.024 GB, free: 11.64 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.0007892/0.5132, allocations: 0.5302 MB / 1.025 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.5133, allocations: 8.031 kB / 1.025 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.581e-05/0.5133, allocations: 66.7 kB / 1.025 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005349/0.5139, allocations: 80.58 kB / 1.025 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002731/0.5142, allocations: 243.9 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.5142, allocations: 16.75 kB / 1.025 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.12e-05/0.5142, allocations: 24.36 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.5147, allocations: 316.5 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.5147, allocations: 0 / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.463e-05/0.5147, allocations: 11.92 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.165e-05/0.5148, allocations: 20.44 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003539/0.5151, allocations: 209.6 kB / 1.026 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001426/0.5166, allocations: 1.498 MB / 1.027 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.517, allocations: 203.7 kB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.489e-05/0.5171, allocations: 40.84 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.5171, allocations: 3.938 kB / 1.027 GB, free: 8.074 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/0.5171, allocations: 38.56 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.5171, allocations: 4 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005042/0.5176, allocations: 255.4 kB / 1.028 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.5177, allocations: 51.41 kB / 1.028 GB, free: 7.684 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.5178, allocations: 204.8 kB / 1.028 GB, free: 7.477 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.5179, allocations: 33.64 kB / 1.028 GB, free: 7.438 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.967e-05/0.518, allocations: 183.5 kB / 1.028 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.518, allocations: 31.64 kB / 1.028 GB, free: 7.219 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.5181, allocations: 37.56 kB / 1.028 GB, free: 7.176 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.941e-05/0.5182, allocations: 326.8 kB / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.05e-05/0.5183, allocations: 43.97 kB / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.5184, allocations: 113.9 kB / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.5186, allocations: 164.4 kB / 1.029 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5186, allocations: 0 / 1.029 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003575/0.519, allocations: 222.2 kB / 1.029 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.519, allocations: 4 kB / 1.029 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.519, allocations: 4 kB / 1.029 GB, free: 6.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001341/0.5192, allocations: 32.72 kB / 1.029 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.5193, allocations: 27.98 kB / 1.029 GB, free: 6.176 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009813/0.5203, allocations: 1.429 MB / 1.03 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.5204, allocations: 27.94 kB / 1.03 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.5204, allocations: 8 kB / 1.03 GB, free: 4.57 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.0001223/0.5206, allocations: 157.6 kB / 1.031 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.871e-05/0.5206, allocations: 15.81 kB / 1.031 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.961e-05/0.5207, allocations: 17.41 kB / 1.031 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.5207, allocations: 0 / 1.031 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.5207, allocations: 0 / 1.031 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.5207, allocations: 7.984 kB / 1.031 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000551/0.5212, allocations: 487.2 kB / 1.031 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.5212, allocations: 0 / 1.031 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.036e-05/0.5213, allocations: 8 kB / 1.031 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.335e-05/0.5214, allocations: 28.83 kB / 1.031 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.5214, allocations: 0 / 1.031 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008884/0.5223, allocations: 1.425 MB / 1.032 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5223, allocations: 3.984 kB / 1.032 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002724/0.5226, allocations: 232.1 kB / 1.033 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.937e-05/0.5227, allocations: 100.9 kB / 1.033 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.5227, allocations: 0 / 1.033 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.5228, allocations: 7.984 kB / 1.033 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.5229, allocations: 16.05 kB / 1.033 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.5229, allocations: 8 kB / 1.033 GB, free: 1.836 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000117/0.523, allocations: 152.4 kB / 1.033 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.523, allocations: 96 / 1.033 GB, free: 1.688 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002995/0.5233, allocations: 63.72 kB / 1.033 GB, free: 1.625 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.0005115/0.5238, allocations: 0.7755 MB / 1.034 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000375/0.5242, allocations: 238.5 kB / 1.034 GB, free: 0.5742 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.5242, allocations: 0 / 1.034 GB, free: 0.5742 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.5244, allocations: 163.8 kB / 1.034 GB, free: 412 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.5248, allocations: 43 kB / 1.034 GB, free: 372 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002145/0.5269, allocations: 2.14 MB / 1.036 GB, free: 14.08 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.5272, allocations: 0.7593 MB / 1.037 GB, free: 13.29 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.999e-05/0.5273, allocations: 29.53 kB / 1.037 GB, free: 13.26 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.37e-05/0.5274, allocations: 51.42 kB / 1.037 GB, free: 13.21 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.5274, allocations: 4 kB / 1.037 GB, free: 13.21 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.327/2.855, allocations: 3.929 MB / 1.041 GB, free: 9.402 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.56/16.42, allocations: 6.75 kB / 1.041 GB, free: 9.398 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