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.006977/0.006977, allocations: 97.22 kB / 15.73 MB, free: 6.055 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.001834/0.001834, allocations: 195.3 kB / 16.68 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.686/2.686, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 63.91 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2915, allocations: 151.6 MB / 1.166 GB, free: 7.359 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004709/0.2962, allocations: 3.218 MB / 1.169 GB, free: 4.121 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002222/0.2984, allocations: 1.375 MB / 1.171 GB, free: 2.738 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.2986, allocations: 7.938 kB / 1.171 GB, free: 2.73 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009983/0.2996, allocations: 338.7 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000323/0.2999, allocations: 147.2 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003483/0.3003, allocations: 143.6 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000375/0.3007, allocations: 330.8 kB / 1.172 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000429/0.3011, allocations: 251.9 kB / 1.172 GB, free: 1.539 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.3013, allocations: 143.5 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.3016, allocations: 151.4 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.972e-05/0.3016, allocations: 20 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000285/0.3019, allocations: 167.6 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.271e-05/0.302, allocations: 79.8 kB / 1.172 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.3022, allocations: 127.4 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000464/0.3026, allocations: 358.7 kB / 1.173 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.3026, allocations: 0 / 1.173 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3026, allocations: 0 / 1.173 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.046e-05/0.3027, allocations: 0 / 1.173 GB, free: 0.5117 MB / 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.0008808/0.3035, allocations: 0.5531 MB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.3036, allocations: 8.031 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.147e-05/0.3037, allocations: 54.73 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005609/0.3042, allocations: 88.67 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.3045, allocations: 254.6 kB / 1.174 GB, free: 15.47 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.551e-05/0.3046, allocations: 12.81 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.3046, allocations: 20.38 kB / 1.174 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.3051, allocations: 320.4 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3052, allocations: 0 / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.3052, allocations: 8 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-05/0.3052, allocations: 20.42 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003783/0.3056, allocations: 209.6 kB / 1.174 GB, free: 14.87 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.3072, allocations: 1.498 MB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004316/0.3077, allocations: 207.6 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.399e-05/0.3078, allocations: 40.84 kB / 1.176 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.3078, allocations: 7.984 kB / 1.176 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.948e-05/0.3078, allocations: 34.56 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.3079, allocations: 4 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0005738/0.3084, allocations: 263.4 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.3085, allocations: 51.41 kB / 1.176 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002145/0.3087, allocations: 215.7 kB / 1.177 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.3087, allocations: 25.7 kB / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.3089, allocations: 176 kB / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.3089, allocations: 31.73 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/0.309, allocations: 41.66 kB / 1.177 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3091, allocations: 326.8 kB / 1.177 GB, free: 11.69 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.3092, allocations: 43.97 kB / 1.177 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.3094, allocations: 108.6 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.3096, allocations: 172.4 kB / 1.177 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3097, allocations: 0 / 1.177 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003922/0.31, allocations: 214.1 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3101, allocations: 11.94 kB / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.3101, allocations: 0 / 1.178 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001747/0.3103, allocations: 32.78 kB / 1.178 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.3104, allocations: 36.2 kB / 1.178 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001183/0.3116, allocations: 1.437 MB / 1.179 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.3118, allocations: 19.83 kB / 1.179 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.3118, allocations: 8.094 kB / 1.179 GB, free: 9.41 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.0001458/0.3119, allocations: 149.7 kB / 1.179 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.312, allocations: 19.89 kB / 1.179 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.312, allocations: 17.41 kB / 1.179 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.312, allocations: 0 / 1.179 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.312, allocations: 4.062 kB / 1.179 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3121, allocations: 3.938 kB / 1.179 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000649/0.3127, allocations: 491.2 kB / 1.18 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3127, allocations: 0 / 1.18 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.702e-05/0.3128, allocations: 15.94 kB / 1.18 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.987e-05/0.3129, allocations: 24.84 kB / 1.18 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3129, allocations: 7.984 kB / 1.18 GB, free: 8.617 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.314, allocations: 1.425 MB / 1.181 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.314, allocations: 0 / 1.181 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003172/0.3143, allocations: 228.2 kB / 1.181 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.068e-05/0.3144, allocations: 104.9 kB / 1.182 GB, free: 6.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.3145, allocations: 4 kB / 1.182 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.3146, allocations: 12.05 kB / 1.182 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.666e-05/0.3146, allocations: 4 kB / 1.182 GB, free: 6.672 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.3147, allocations: 4 kB / 1.182 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001415/0.3148, allocations: 152.1 kB / 1.182 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.973e-06/0.3148, allocations: 4 kB / 1.182 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003318/0.3151, allocations: 55.83 kB / 1.182 GB, free: 6.461 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.0006268/0.3158, allocations: 0.7702 MB / 1.183 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004558/0.3162, allocations: 230.5 kB / 1.183 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3163, allocations: 0.5625 kB / 1.183 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002261/0.3165, allocations: 171.2 kB / 1.183 GB, free: 5.242 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.3169, allocations: 40.55 kB / 1.183 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.3194, allocations: 2.139 MB / 1.185 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.3198, allocations: 0.7593 MB / 1.186 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.786e-05/0.3199, allocations: 29.53 kB / 1.186 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.143e-05/0.32, allocations: 55.42 kB / 1.186 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.32, allocations: 0 / 1.186 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02859/0.3486, allocations: 4.019 MB / 1.19 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.672/10.02, allocations: 4.703 kB / 1.19 GB, free: 14.18 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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