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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001551/0.001551, allocations: 211.9 kB / 22.24 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.82/2.82, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 65.98 kB / 1.117 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2922/0.2943, allocations: 170 MB / 1.283 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005473/0.2998, allocations: 3.2 MB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00273/0.3025, allocations: 1.398 MB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.3027, allocations: 7.938 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.3039, allocations: 339.6 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004071/0.3043, allocations: 147.2 kB / 1.288 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.3048, allocations: 160.3 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004178/0.3052, allocations: 334.9 kB / 1.288 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004277/0.3056, allocations: 200 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002683/0.3059, allocations: 147.5 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.3062, allocations: 151.4 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.3062, allocations: 20 kB / 1.288 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.3065, allocations: 155.6 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.3066, allocations: 87.73 kB / 1.289 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.3067, allocations: 95.59 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004977/0.3072, allocations: 376.3 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3072, allocations: 0 / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3072, allocations: 0 / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.3072, allocations: 0 / 1.289 GB, free: 5.711 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.0008866/0.3081, allocations: 489.3 kB / 1.29 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.3081, allocations: 8.031 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.149e-05/0.3082, allocations: 54.73 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006613/0.3089, allocations: 104.6 kB / 1.29 GB, free: 5.027 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.3092, allocations: 186.9 kB / 1.29 GB, free: 4.816 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.3093, allocations: 12.81 kB / 1.29 GB, free: 4.805 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.585e-05/0.3093, allocations: 24.36 kB / 1.29 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006388/0.3099, allocations: 397.5 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.31, allocations: 0 / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.31, allocations: 4 kB / 1.29 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.234e-05/0.31, allocations: 24.44 kB / 1.29 GB, free: 4.324 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.3105, allocations: 213.5 kB / 1.291 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001651/0.3121, allocations: 1.069 MB / 1.292 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.3125, allocations: 114.6 kB / 1.292 GB, free: 2.855 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.42e-05/0.3126, allocations: 40.84 kB / 1.292 GB, free: 2.812 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.3126, allocations: 4 kB / 1.292 GB, free: 2.809 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.3126, allocations: 30.56 kB / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3126, allocations: 0 / 1.292 GB, free: 2.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005455/0.3132, allocations: 194.3 kB / 1.292 GB, free: 2.57 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.3132, allocations: 55.41 kB / 1.292 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000249/0.3135, allocations: 214.8 kB / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.3135, allocations: 29.7 kB / 1.292 GB, free: 2.25 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.3136, allocations: 175.9 kB / 1.292 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.3137, allocations: 27.75 kB / 1.292 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-05/0.3137, allocations: 37.7 kB / 1.293 GB, free: 2.004 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.3139, allocations: 330.8 kB / 1.293 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001102/0.314, allocations: 43.97 kB / 1.293 GB, free: 1.629 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/0.3142, allocations: 112.5 kB / 1.293 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000273/0.3145, allocations: 164.4 kB / 1.293 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3145, allocations: 0 / 1.293 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004415/0.315, allocations: 230 kB / 1.293 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.315, allocations: 4 kB / 1.293 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.315, allocations: 4 kB / 1.293 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001669/0.3151, allocations: 24.78 kB / 1.293 GB, free: 1.027 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.3153, allocations: 40.2 kB / 1.293 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001258/0.3166, allocations: 1.326 MB / 1.295 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001458/0.3167, allocations: 19.88 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.3167, allocations: 12 kB / 1.295 GB, free: 15.51 MB / 0.9981 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.0001573/0.3169, allocations: 149.8 kB / 1.295 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.3169, allocations: 19.91 kB / 1.295 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.486e-05/0.317, allocations: 17.41 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.317, allocations: 0 / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.317, allocations: 4 kB / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.317, allocations: 0 / 1.295 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006829/0.3176, allocations: 446.7 kB / 1.295 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3176, allocations: 0 / 1.295 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.056e-05/0.3177, allocations: 15.98 kB / 1.295 GB, free: 14.81 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-05/0.3178, allocations: 28.78 kB / 1.295 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.3178, allocations: 4 kB / 1.295 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001105/0.3189, allocations: 1.318 MB / 1.297 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3189, allocations: 80 / 1.297 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.3193, allocations: 244.2 kB / 1.297 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.479e-05/0.3193, allocations: 24.05 kB / 1.297 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.3193, allocations: 4 kB / 1.297 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001358/0.3195, allocations: 12 kB / 1.297 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.3195, allocations: 7.984 kB / 1.297 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.3195, allocations: 0 / 1.297 GB, free: 13.04 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001496/0.3197, allocations: 151.2 kB / 1.297 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3197, allocations: 0 / 1.297 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003407/0.32, allocations: 59.84 kB / 1.297 GB, free: 12.83 MB / 0.9981 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.0006499/0.3207, allocations: 0.7717 MB / 1.298 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.3211, allocations: 226.5 kB / 1.298 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3211, allocations: 288 / 1.298 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002288/0.3214, allocations: 154.7 kB / 1.298 GB, free: 11.63 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.3217, allocations: 42.14 kB / 1.298 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.3245, allocations: 2.165 MB / 1.3 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.3246, allocations: 148.2 kB / 1.301 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001062/0.3247, allocations: 25.47 kB / 1.301 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.3248, allocations: 59.41 kB / 1.301 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of SimCode: time 3.91e-07/0.3248, allocations: 0 / 1.301 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0353/0.3601, allocations: 4.7 MB / 1.305 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.9, allocations: 1.562 kB / 1.305 GB, free: 4.523 MB / 0.9981 GB " [Timeout remaining time 287] (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/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: 18.415986818261445]