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.006514/0.006514, allocations: 107.8 kB / 15.74 MB, free: 6.441 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.001648/0.001648, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.285 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.536/2.536, allocations: 437.1 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.89 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2951/0.2963, allocations: 151.6 MB / 1.166 GB, free: 7.312 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004492/0.3008, allocations: 3.217 MB / 1.169 GB, free: 4.078 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002134/0.303, allocations: 1.371 MB / 1.171 GB, free: 2.699 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.3032, allocations: 11.94 kB / 1.171 GB, free: 2.688 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.3042, allocations: 330.7 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003769/0.3046, allocations: 155.2 kB / 1.171 GB, free: 2.211 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.305, allocations: 143.6 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003793/0.3054, allocations: 334.9 kB / 1.172 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004587/0.3059, allocations: 250.5 kB / 1.172 GB, free: 1.496 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001955/0.3061, allocations: 143.5 kB / 1.172 GB, free: 1.355 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.3064, allocations: 147.4 kB / 1.172 GB, free: 1.211 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.081e-05/0.3064, allocations: 20 kB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003024/0.3067, allocations: 171.6 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.3069, allocations: 83.8 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001285/0.307, allocations: 127.3 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004326/0.3074, allocations: 347.8 kB / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3074, allocations: 0 / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3074, allocations: 0 / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3075, allocations: 0 / 1.173 GB, free: 488 kB / 0.92 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.0008964/0.3084, allocations: 0.5458 MB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3084, allocations: 8.031 kB / 1.173 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.171e-05/0.3085, allocations: 58.67 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005527/0.309, allocations: 84.48 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003005/0.3094, allocations: 259.9 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.3094, allocations: 12.81 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.3094, allocations: 16.38 kB / 1.174 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.3099, allocations: 320.4 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3099, allocations: 8 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.476e-05/0.31, allocations: 4 kB / 1.174 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/0.31, allocations: 16.44 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003659/0.3104, allocations: 213.5 kB / 1.174 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.312, allocations: 1.49 MB / 1.176 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000428/0.3124, allocations: 211.6 kB / 1.176 GB, free: 12.94 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.057e-05/0.3125, allocations: 40.84 kB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.3125, allocations: 3.984 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.3126, allocations: 34.56 kB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.422e-06/0.3126, allocations: 0 / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0005497/0.3131, allocations: 259.4 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.3132, allocations: 55.34 kB / 1.176 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.3133, allocations: 211.6 kB / 1.177 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.3134, allocations: 29.7 kB / 1.177 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.898e-05/0.3135, allocations: 175.6 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.153e-05/0.3135, allocations: 27.61 kB / 1.177 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.823e-05/0.3136, allocations: 37.72 kB / 1.177 GB, free: 12 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3137, allocations: 330.8 kB / 1.177 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.62e-05/0.3138, allocations: 39.98 kB / 1.177 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.3139, allocations: 120.5 kB / 1.177 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002204/0.3141, allocations: 172.4 kB / 1.177 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3142, allocations: 0 / 1.177 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003521/0.3145, allocations: 214.3 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.3145, allocations: 4 kB / 1.178 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.3146, allocations: 4 kB / 1.178 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001798/0.3147, allocations: 28.78 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.3149, allocations: 35.92 kB / 1.178 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.316, allocations: 1.433 MB / 1.179 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.3162, allocations: 15.88 kB / 1.179 GB, free: 9.406 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.779e-05/0.3162, allocations: 15.98 kB / 1.179 GB, free: 9.391 MB / 0.9356 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.0001593/0.3164, allocations: 149.9 kB / 1.179 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.3164, allocations: 15.81 kB / 1.179 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.3164, allocations: 21.39 kB / 1.179 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3165, allocations: 0 / 1.179 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3165, allocations: 0 / 1.179 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.3165, allocations: 4 kB / 1.179 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006178/0.3171, allocations: 495.2 kB / 1.18 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3171, allocations: 3.938 kB / 1.18 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.786e-05/0.3172, allocations: 15.92 kB / 1.18 GB, free: 8.629 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.07e-05/0.3173, allocations: 24.84 kB / 1.18 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.3173, allocations: 4 kB / 1.18 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.3183, allocations: 1.425 MB / 1.181 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.3184, allocations: 0 / 1.181 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003228/0.3187, allocations: 236.3 kB / 1.181 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.8e-05/0.3188, allocations: 100.9 kB / 1.182 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.3188, allocations: 0 / 1.182 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.3189, allocations: 8 kB / 1.182 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.501e-05/0.319, allocations: 11.92 kB / 1.182 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.319, allocations: 4 kB / 1.182 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001443/0.3192, allocations: 152.2 kB / 1.182 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3192, allocations: 0 / 1.182 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003561/0.3195, allocations: 55.84 kB / 1.182 GB, free: 6.441 MB / 0.9356 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.000567/0.3201, allocations: 0.7701 MB / 1.182 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004553/0.3206, allocations: 226.5 kB / 1.183 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.3206, allocations: 0 / 1.183 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002107/0.3208, allocations: 166.5 kB / 1.183 GB, free: 5.23 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3212, allocations: 49.16 kB / 1.183 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.3236, allocations: 2.135 MB / 1.185 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.3239, allocations: 0.7554 MB / 1.186 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.945e-05/0.324, allocations: 29.47 kB / 1.186 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.131e-05/0.3241, allocations: 55.42 kB / 1.186 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.3241, allocations: 3.938 kB / 1.186 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.3477, allocations: 4.017 MB / 1.19 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.484/9.832, allocations: 9.141 kB / 1.19 GB, free: 14.16 MB / 0.9512 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