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.004476/0.004476, allocations: 98.11 kB / 15.73 MB, free: 6.062 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.001146/0.001146, allocations: 196.5 kB / 16.67 MB, free: 5.973 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.313/1.313, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.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.311/2.311, allocations: 437.1 MB / 0.7106 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 63.89 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.6728, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004297/0.6771, allocations: 3.221 MB / 1.169 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.6791, allocations: 1.363 MB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.306e-05/0.6792, allocations: 4 kB / 1.171 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0008878/0.6801, allocations: 354.5 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.000283/0.6804, allocations: 147.2 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.6807, allocations: 144.9 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003463/0.681, allocations: 334.9 kB / 1.172 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003858/0.6814, allocations: 247.7 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001807/0.6816, allocations: 139.5 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.6819, allocations: 151.5 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.457e-05/0.6819, allocations: 23.94 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00026/0.6822, allocations: 167.6 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.983e-05/0.6823, allocations: 83.78 kB / 1.172 GB, free: 13.39 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.6824, allocations: 123.4 kB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004076/0.6828, allocations: 358.3 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.6828, allocations: 0 / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6828, allocations: 0 / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.6829, allocations: 0 / 1.173 GB, free: 12.92 MB / 0.9044 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.0007595/0.6836, allocations: 0.5455 MB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.6837, allocations: 8.922 kB / 1.173 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.121e-05/0.6837, allocations: 58.72 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005172/0.6842, allocations: 84.67 kB / 1.173 GB, free: 12.17 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.6845, allocations: 252 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.6846, allocations: 16.81 kB / 1.174 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.6846, allocations: 24.36 kB / 1.174 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.6851, allocations: 312.4 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.6851, allocations: 0 / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.6851, allocations: 8 kB / 1.174 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-05/0.6851, allocations: 24.42 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.6855, allocations: 213.5 kB / 1.174 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.687, allocations: 1.494 MB / 1.176 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.6873, allocations: 203.7 kB / 1.176 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.088e-05/0.6874, allocations: 44.83 kB / 1.176 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.091e-05/0.6875, allocations: 0 / 1.176 GB, free: 9.344 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.6875, allocations: 34.5 kB / 1.176 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.6875, allocations: 4 kB / 1.176 GB, free: 9.297 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0005245/0.688, allocations: 267.4 kB / 1.176 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.6881, allocations: 55.39 kB / 1.176 GB, free: 8.941 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.6883, allocations: 203.8 kB / 1.177 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.6883, allocations: 25.7 kB / 1.177 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.6884, allocations: 180 kB / 1.177 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.6884, allocations: 31.73 kB / 1.177 GB, free: 8.488 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.6885, allocations: 41.66 kB / 1.177 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.6886, allocations: 334.8 kB / 1.177 GB, free: 8.105 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.601e-05/0.6887, allocations: 43.97 kB / 1.177 GB, free: 8.062 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.6889, allocations: 110.6 kB / 1.177 GB, free: 7.926 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002307/0.6891, allocations: 168.4 kB / 1.177 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6891, allocations: 0 / 1.177 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003486/0.6895, allocations: 206.1 kB / 1.178 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.6895, allocations: 8 kB / 1.178 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.6895, allocations: 4.281 kB / 1.178 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001467/0.6897, allocations: 40.7 kB / 1.178 GB, free: 7.465 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.6898, allocations: 31.98 kB / 1.178 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001048/0.6908, allocations: 1.429 MB / 1.179 GB, free: 5.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.691, allocations: 23.88 kB / 1.179 GB, free: 5.84 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.691, allocations: 8 kB / 1.179 GB, free: 5.832 MB / 0.9044 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.0001283/0.6911, allocations: 158.3 kB / 1.179 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.6912, allocations: 15.91 kB / 1.179 GB, free: 5.652 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.6912, allocations: 21.39 kB / 1.179 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.6912, allocations: 0 / 1.179 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.6912, allocations: 0 / 1.179 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.6912, allocations: 0 / 1.179 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005734/0.6918, allocations: 491.5 kB / 1.18 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.6918, allocations: 0 / 1.18 GB, free: 5.094 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.192e-05/0.6919, allocations: 15.98 kB / 1.18 GB, free: 5.078 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.345e-05/0.692, allocations: 28.78 kB / 1.18 GB, free: 5.047 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.692, allocations: 4 kB / 1.18 GB, free: 5.043 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009735/0.693, allocations: 1.429 MB / 1.181 GB, free: 3.473 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.693, allocations: 3.984 kB / 1.181 GB, free: 3.469 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002878/0.6933, allocations: 244.2 kB / 1.181 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.809e-05/0.6934, allocations: 101.1 kB / 1.182 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.6934, allocations: 3.938 kB / 1.182 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.6935, allocations: 8 kB / 1.182 GB, free: 3.082 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.113e-05/0.6935, allocations: 7.984 kB / 1.182 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.6935, allocations: 0 / 1.182 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001341/0.6937, allocations: 148.2 kB / 1.182 GB, free: 2.93 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6937, allocations: 4 kB / 1.182 GB, free: 2.926 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002937/0.694, allocations: 63.83 kB / 1.182 GB, free: 2.863 MB / 0.9044 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.0005519/0.6946, allocations: 0.7701 MB / 1.183 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003811/0.6949, allocations: 226.5 kB / 1.183 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.695, allocations: 0 / 1.183 GB, free: 1.828 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000199/0.6952, allocations: 158.6 kB / 1.183 GB, free: 1.66 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.6955, allocations: 45.59 kB / 1.183 GB, free: 1.617 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.6977, allocations: 2.148 MB / 1.185 GB, free: 15.32 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.6981, allocations: 0.7554 MB / 1.186 GB, free: 14.54 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 8.902e-05/0.6982, allocations: 33.52 kB / 1.186 GB, free: 14.51 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.939e-05/0.6983, allocations: 59.41 kB / 1.186 GB, free: 14.45 MB / 0.92 GB Notification: Performance of SimCode: time 3.41e-07/0.6983, allocations: 0 / 1.186 GB, free: 14.45 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.936/2.634, allocations: 4.014 MB / 1.19 GB, free: 10.58 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.01/21.64, allocations: 4.875 kB / 1.19 GB, free: 10.57 MB / 0.92 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=400 --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