Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_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.001148/0.001148, allocations: 108 kB / 15.61 MB, free: 152 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.001107/0.001107, allocations: 193.8 kB / 16.53 MB, free: 6.664 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.19/1.19, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.393/2.393, allocations: 461.9 MB / 0.7347 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 62.36 kB / 0.8992 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2247, allocations: 157.4 MB / 1.053 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003807/0.2286, allocations: 3.21 MB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.2302, allocations: 1.387 MB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.913e-05/0.2303, allocations: 8 kB / 1.057 GB, free: 3.598 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008363/0.2311, allocations: 326.7 kB / 1.058 GB, free: 3.277 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002669/0.2314, allocations: 151.2 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002991/0.2317, allocations: 147.6 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.232, allocations: 326.9 kB / 1.058 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003381/0.2323, allocations: 251.9 kB / 1.059 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.2325, allocations: 143.4 kB / 1.059 GB, free: 2.277 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.2327, allocations: 151.4 kB / 1.059 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.2328, allocations: 20 kB / 1.059 GB, free: 2.109 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002464/0.233, allocations: 167.6 kB / 1.059 GB, free: 1.945 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.445e-05/0.2331, allocations: 83.78 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.2332, allocations: 123.4 kB / 1.059 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.2336, allocations: 358.9 kB / 1.06 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.2336, allocations: 0 / 1.06 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2336, allocations: 0 / 1.06 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.2336, allocations: 0 / 1.06 GB, free: 1.391 MB / 0.8106 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.0006599/0.2342, allocations: 0.5341 MB / 1.06 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.2343, allocations: 12.62 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.82e-05/0.2343, allocations: 58.72 kB / 1.06 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000502/0.2348, allocations: 84.58 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.2351, allocations: 253.1 kB / 1.06 GB, free: 372 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.2351, allocations: 12.81 kB / 1.06 GB, free: 360 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.2351, allocations: 20.36 kB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/0.2355, allocations: 316.4 kB / 1.061 GB, free: 0 / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.853e-05/0.2356, allocations: 48 / 1.061 GB, free: 16 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.2356, allocations: 8 kB / 1.061 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.961e-05/0.2356, allocations: 24.38 kB / 1.061 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003178/0.2359, allocations: 209.5 kB / 1.061 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.2372, allocations: 1.502 MB / 1.062 GB, free: 14.1 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003478/0.2375, allocations: 203.7 kB / 1.063 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.011e-05/0.2376, allocations: 44.83 kB / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.2376, allocations: 0 / 1.063 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.2377, allocations: 34.5 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 8.42e-07/0.2377, allocations: 7.938 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0004633/0.2381, allocations: 259.4 kB / 1.063 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.2382, allocations: 55.39 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.2383, allocations: 211.6 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.2384, allocations: 25.7 kB / 1.063 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.2384, allocations: 171.7 kB / 1.063 GB, free: 13.01 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.958e-05/0.2385, allocations: 31.55 kB / 1.063 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/0.2385, allocations: 37.72 kB / 1.064 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.251e-05/0.2386, allocations: 330.8 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.871e-05/0.2387, allocations: 51.91 kB / 1.064 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.2388, allocations: 104.6 kB / 1.064 GB, free: 12.42 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.239, allocations: 172.4 kB / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.239, allocations: 0 / 1.064 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003228/0.2394, allocations: 206.3 kB / 1.064 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2394, allocations: 13.12 kB / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.2394, allocations: 0 / 1.064 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001235/0.2395, allocations: 36.72 kB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.2396, allocations: 31.98 kB / 1.064 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008245/0.2405, allocations: 1.425 MB / 1.066 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.2406, allocations: 19.83 kB / 1.066 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.2406, allocations: 8 kB / 1.066 GB, free: 10.33 MB / 0.8262 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.0001021/0.2407, allocations: 153.8 kB / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.2408, allocations: 15.81 kB / 1.066 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.966e-05/0.2408, allocations: 25.38 kB / 1.066 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.2408, allocations: 0 / 1.066 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.2408, allocations: 0 / 1.066 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.2408, allocations: 0 / 1.066 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004917/0.2413, allocations: 491.2 kB / 1.066 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2413, allocations: 0 / 1.066 GB, free: 9.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.2414, allocations: 15.98 kB / 1.067 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.75e-05/0.2415, allocations: 20.91 kB / 1.067 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.2415, allocations: 8 kB / 1.067 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000762/0.2423, allocations: 1.43 MB / 1.068 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2423, allocations: 0 / 1.068 GB, free: 7.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.2425, allocations: 236.7 kB / 1.068 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.474e-05/0.2426, allocations: 100.9 kB / 1.068 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.2426, allocations: 3.938 kB / 1.068 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001146/0.2427, allocations: 8 kB / 1.068 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.2428, allocations: 7.984 kB / 1.068 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.2428, allocations: 4 kB / 1.068 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000116/0.2429, allocations: 149.6 kB / 1.068 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2429, allocations: 7.938 kB / 1.068 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002957/0.2432, allocations: 55.84 kB / 1.068 GB, free: 7.383 MB / 0.8262 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.0004231/0.2436, allocations: 0.7717 MB / 1.069 GB, free: 6.578 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003326/0.244, allocations: 230.5 kB / 1.069 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.244, allocations: 0 / 1.069 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001747/0.2442, allocations: 163.2 kB / 1.07 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.2445, allocations: 43.38 kB / 1.07 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.2464, allocations: 2.136 MB / 1.072 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.2466, allocations: 0.7554 MB / 1.072 GB, free: 3.066 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.492e-05/0.2467, allocations: 29.52 kB / 1.073 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.2468, allocations: 55.42 kB / 1.073 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of SimCode: time 2.81e-07/0.2468, allocations: 0 / 1.073 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.598/5.845, allocations: 3.942 MB / 1.076 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.828/15.67, allocations: 6.25 kB / 1.076 GB, free: 15.16 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches