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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009113/0.0009113, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006168/0.006168, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.259/1.259, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.312/2.312, allocations: 437.8 MB / 0.7121 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003274, allocations: 8 kB / 0.8729 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.593/0.5934, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004074/0.5975, allocations: 2.898 MB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002207/0.5997, allocations: 1.348 MB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001687/0.5999, allocations: 4 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001919/0.6001, allocations: 39.59 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005089/0.6007, allocations: 151.3 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.6011, allocations: 139.7 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005351/0.6017, allocations: 454.7 kB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003646/0.602, allocations: 247.2 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002291/0.6023, allocations: 111.5 kB / 1.028 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003517/0.6026, allocations: 139.4 kB / 1.028 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.458e-05/0.6027, allocations: 12 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000397/0.6031, allocations: 211.5 kB / 1.029 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.6032, allocations: 71.8 kB / 1.029 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001518/0.6034, allocations: 133.1 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004729/0.6038, allocations: 353 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.6039, allocations: 0 / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6039, allocations: 0 / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.039e-05/0.6039, allocations: 4 kB / 1.029 GB, free: 9.496 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.0009239/0.6048, allocations: 0.4991 MB / 1.03 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.6049, allocations: 8.031 kB / 1.03 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.698e-05/0.605, allocations: 58.72 kB / 1.03 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006536/0.6056, allocations: 92.58 kB / 1.03 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003186/0.6059, allocations: 249.4 kB / 1.03 GB, free: 8.5 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.891e-05/0.606, allocations: 12.81 kB / 1.03 GB, free: 8.488 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.606, allocations: 24.38 kB / 1.03 GB, free: 8.465 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004988/0.6065, allocations: 316.5 kB / 1.03 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.6065, allocations: 3.938 kB / 1.03 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.658e-05/0.6066, allocations: 8 kB / 1.03 GB, free: 8.125 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.6066, allocations: 20.42 kB / 1.03 GB, free: 8.102 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003715/0.607, allocations: 213.6 kB / 1.031 GB, free: 7.891 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.6084, allocations: 1.509 MB / 1.032 GB, free: 6.215 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.6088, allocations: 203.6 kB / 1.032 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.692e-05/0.6089, allocations: 48.84 kB / 1.032 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.609, allocations: 0 / 1.032 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.609, allocations: 38.56 kB / 1.032 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.609, allocations: 0 / 1.032 GB, free: 5.891 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0005681/0.6096, allocations: 263.7 kB / 1.033 GB, free: 5.605 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.6096, allocations: 59.34 kB / 1.033 GB, free: 5.535 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.6098, allocations: 207.7 kB / 1.033 GB, free: 5.324 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.6098, allocations: 25.7 kB / 1.033 GB, free: 5.293 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.6099, allocations: 187.5 kB / 1.033 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.61, allocations: 23.66 kB / 1.033 GB, free: 5.078 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.765e-05/0.61, allocations: 21.7 kB / 1.033 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.796e-05/0.6101, allocations: 326.8 kB / 1.034 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001026/0.6102, allocations: 43.97 kB / 1.034 GB, free: 4.68 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001251/0.6104, allocations: 114 kB / 1.034 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.6106, allocations: 176.4 kB / 1.034 GB, free: 4.336 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.6106, allocations: 4 kB / 1.034 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003538/0.611, allocations: 210 kB / 1.034 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.611, allocations: 4.281 kB / 1.034 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.611, allocations: 11.98 kB / 1.034 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001421/0.6111, allocations: 32.72 kB / 1.034 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.6113, allocations: 35.98 kB / 1.034 GB, free: 4.031 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008826/0.6122, allocations: 1.327 MB / 1.035 GB, free: 2.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.6123, allocations: 15.88 kB / 1.035 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.519e-05/0.6123, allocations: 12 kB / 1.035 GB, free: 2.543 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.0001158/0.6125, allocations: 154.3 kB / 1.036 GB, free: 2.383 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.6125, allocations: 19.75 kB / 1.036 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.6125, allocations: 17.41 kB / 1.036 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.6125, allocations: 0 / 1.036 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.275e-06/0.6126, allocations: 4 kB / 1.036 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.6126, allocations: 3.984 kB / 1.036 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.6131, allocations: 491.1 kB / 1.036 GB, free: 1.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.6131, allocations: 7.984 kB / 1.036 GB, free: 1.797 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.406e-05/0.6132, allocations: 20.06 kB / 1.036 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.189e-05/0.6133, allocations: 28.83 kB / 1.036 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.6133, allocations: 0 / 1.036 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007856/0.6141, allocations: 1.319 MB / 1.037 GB, free: 304 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.6141, allocations: 0 / 1.037 GB, free: 304 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002657/0.6144, allocations: 240.3 kB / 1.038 GB, free: 44 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.584e-05/0.6144, allocations: 100.9 kB / 1.038 GB, free: 15.93 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.6145, allocations: 7.938 kB / 1.038 GB, free: 15.92 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.6146, allocations: 8 kB / 1.038 GB, free: 15.91 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.6146, allocations: 3.984 kB / 1.038 GB, free: 15.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.6146, allocations: 4 kB / 1.038 GB, free: 15.9 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001052/0.6148, allocations: 144.2 kB / 1.038 GB, free: 15.76 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6148, allocations: 4 kB / 1.038 GB, free: 15.76 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003018/0.6151, allocations: 55.84 kB / 1.038 GB, free: 15.7 MB / 0.795 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.0004923/0.6156, allocations: 0.7894 MB / 1.039 GB, free: 14.89 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003691/0.6159, allocations: 226.5 kB / 1.039 GB, free: 14.65 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.616, allocations: 0 / 1.039 GB, free: 14.65 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.6162, allocations: 171.2 kB / 1.039 GB, free: 14.47 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.6165, allocations: 32.53 kB / 1.039 GB, free: 14.44 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.6186, allocations: 2.255 MB / 1.041 GB, free: 12.04 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.6189, allocations: 0.7518 MB / 1.042 GB, free: 11.27 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.831e-05/0.619, allocations: 25.53 kB / 1.042 GB, free: 11.24 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.251e-05/0.6191, allocations: 63.41 kB / 1.042 GB, free: 11.18 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.6191, allocations: 0 / 1.042 GB, free: 11.18 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8132/1.432, allocations: 3.657 MB / 1.046 GB, free: 7.695 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/1.433, allocations: 232.9 kB / 1.046 GB, free: 7.434 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.022/3.455, allocations: 0 / 1.046 GB, free: 7.434 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