Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 108.8 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 225.6 MB / 247.8 MB, free: 13.91 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.754/2.754, allocations: 476.7 MB / 0.7611 GB, free: 11.34 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.89 kB / 1.104 GB, free: 9.332 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7599/0.762, allocations: 168.7 MB / 1.269 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005519/0.7675, allocations: 3.242 MB / 1.272 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002653/0.7701, allocations: 1.41 MB / 1.273 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.7703, allocations: 11.94 kB / 1.273 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00113/0.7715, allocations: 330.7 kB / 1.274 GB, free: 196 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.000435/0.7719, allocations: 155.2 kB / 1.274 GB, free: 40 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004484/0.7723, allocations: 155.1 kB / 1.274 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000447/0.7728, allocations: 330.9 kB / 1.274 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004609/0.7733, allocations: 210.1 kB / 1.274 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00024/0.7735, allocations: 135.5 kB / 1.275 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003498/0.7738, allocations: 163.4 kB / 1.275 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.7739, allocations: 20 kB / 1.275 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003588/0.7742, allocations: 167.6 kB / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.7744, allocations: 87.72 kB / 1.275 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002064/0.7746, allocations: 131.3 kB / 1.275 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.7751, allocations: 354.7 kB / 1.275 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.7751, allocations: 4 kB / 1.275 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7751, allocations: 0 / 1.275 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.705e-06/0.7751, allocations: 0 / 1.275 GB, free: 14.31 MB / 0.9825 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.001091/0.7762, allocations: 0.5397 MB / 1.276 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.7763, allocations: 8.031 kB / 1.276 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.193e-05/0.7763, allocations: 70.59 kB / 1.276 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006614/0.777, allocations: 84.67 kB / 1.276 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000405/0.7774, allocations: 254.6 kB / 1.276 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.7774, allocations: 12.81 kB / 1.276 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.7775, allocations: 20.38 kB / 1.276 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005401/0.778, allocations: 320.4 kB / 1.277 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.778, allocations: 0 / 1.277 GB, free: 12.9 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.7781, allocations: 8 kB / 1.277 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.876e-05/0.7781, allocations: 20.42 kB / 1.277 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003954/0.7785, allocations: 213.6 kB / 1.277 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001887/0.7804, allocations: 1.498 MB / 1.278 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.7808, allocations: 199.6 kB / 1.279 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.7809, allocations: 40.91 kB / 1.279 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.781, allocations: 8 kB / 1.279 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.84e-05/0.781, allocations: 34.55 kB / 1.279 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.432e-06/0.781, allocations: 0 / 1.279 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0006541/0.7817, allocations: 263.4 kB / 1.279 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.7817, allocations: 55.39 kB / 1.279 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000245/0.7819, allocations: 211.8 kB / 1.279 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.782, allocations: 25.7 kB / 1.279 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000149/0.7821, allocations: 176 kB / 1.279 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.7822, allocations: 35.72 kB / 1.279 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-05/0.7822, allocations: 41.66 kB / 1.279 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.7824, allocations: 326.8 kB / 1.28 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.7825, allocations: 43.97 kB / 1.28 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001606/0.7827, allocations: 112.5 kB / 1.28 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000255/0.7829, allocations: 164.4 kB / 1.28 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7829, allocations: 0 / 1.28 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003935/0.7833, allocations: 214.1 kB / 1.28 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.7834, allocations: 6.344 kB / 1.28 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.7834, allocations: 4 kB / 1.28 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001948/0.7836, allocations: 33.05 kB / 1.28 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001578/0.7837, allocations: 39.92 kB / 1.28 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.785, allocations: 1.421 MB / 1.282 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.7852, allocations: 23.91 kB / 1.282 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.7852, allocations: 12.09 kB / 1.282 GB, free: 7.227 MB / 0.9825 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.0001635/0.7854, allocations: 153.6 kB / 1.282 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.7854, allocations: 19.86 kB / 1.282 GB, free: 7.047 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.874e-05/0.7855, allocations: 21.39 kB / 1.282 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.7855, allocations: 4.062 kB / 1.282 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.7855, allocations: 0 / 1.282 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.7855, allocations: 4 kB / 1.282 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007123/0.7862, allocations: 479.2 kB / 1.282 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.7862, allocations: 0 / 1.282 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.42e-05/0.7862, allocations: 15.98 kB / 1.282 GB, free: 6.477 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.271e-05/0.7863, allocations: 32.84 kB / 1.282 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.7863, allocations: 4 kB / 1.282 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/0.7876, allocations: 1.429 MB / 1.284 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.7876, allocations: 0 / 1.284 GB, free: 4.867 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.7879, allocations: 232.2 kB / 1.284 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.788, allocations: 101 kB / 1.284 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.7881, allocations: 0 / 1.284 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001242/0.7882, allocations: 12.06 kB / 1.284 GB, free: 4.492 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.4e-05/0.7882, allocations: 11.92 kB / 1.284 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.7882, allocations: 4 kB / 1.284 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000155/0.7884, allocations: 153.4 kB / 1.284 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7884, allocations: 0 / 1.284 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003674/0.7888, allocations: 55.89 kB / 1.284 GB, free: 4.273 MB / 0.9825 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.000732/0.7895, allocations: 0.7761 MB / 1.285 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004769/0.79, allocations: 219 kB / 1.285 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.79, allocations: 4.125 kB / 1.285 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002283/0.7902, allocations: 162.6 kB / 1.286 GB, free: 3.062 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003648/0.7906, allocations: 36.61 kB / 1.286 GB, free: 3.027 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.7933, allocations: 2.139 MB / 1.288 GB, free: 0.7461 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.7938, allocations: 0.7515 MB / 1.288 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.7939, allocations: 33.47 kB / 1.288 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.794, allocations: 59.41 kB / 1.288 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of SimCode: time 9.92e-07/0.794, allocations: 0 / 1.288 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03165/0.8256, allocations: 4.061 MB / 1.292 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.893/10.72, allocations: 6.016 kB / 1.292 GB, free: 11.95 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.783963116351515]