Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001901/0.001901, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.002485/0.002485, allocations: 218.7 kB / 22.26 MB, free: 5.121 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.526/1.526, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.359/3.359, allocations: 0.49 GB / 0.7951 GB, free: 33.34 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_12_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.002063/0.002063, allocations: 67.62 kB / 1.154 GB, free: 25.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.395, allocations: 176.1 MB / 1.326 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.00593/0.4009, allocations: 3.34 MB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002917/0.4038, allocations: 1.507 MB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002782/0.4041, allocations: 7.938 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001226/0.4053, allocations: 346.7 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005463/0.4059, allocations: 155.2 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005297/0.4064, allocations: 163.5 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005677/0.407, allocations: 330.9 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004809/0.4075, allocations: 200 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003434/0.4078, allocations: 155.5 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003802/0.4082, allocations: 151.4 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.717e-05/0.4082, allocations: 20 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003883/0.4086, allocations: 183.6 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.4088, allocations: 91.66 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001538/0.409, allocations: 123.4 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006449/0.4096, allocations: 358.7 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.4096, allocations: 0 / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.833e-06/0.4096, allocations: 0 / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.118e-05/0.4096, allocations: 0 / 1.333 GB, free: 10.85 MB / 1.029 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.001116/0.4107, allocations: 493.3 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4108, allocations: 8.031 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.278e-05/0.4109, allocations: 54.73 kB / 1.333 GB, free: 10.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000755/0.4116, allocations: 96.66 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004115/0.412, allocations: 194.8 kB / 1.334 GB, free: 9.957 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.394e-05/0.412, allocations: 16.81 kB / 1.334 GB, free: 9.941 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.4121, allocations: 20.38 kB / 1.334 GB, free: 9.922 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000568/0.4127, allocations: 320.4 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.4127, allocations: 0 / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.4127, allocations: 12 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/0.4127, allocations: 16.42 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.4132, allocations: 213.6 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.4153, allocations: 1.459 MB / 1.336 GB, free: 7.73 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.4158, allocations: 122.6 kB / 1.336 GB, free: 7.602 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.4159, allocations: 40.84 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.4159, allocations: 0 / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.4159, allocations: 34.55 kB / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 9.52e-07/0.4159, allocations: 0 / 1.336 GB, free: 7.516 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0006027/0.4165, allocations: 198.3 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.813e-05/0.4166, allocations: 51.41 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.4168, allocations: 210.9 kB / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.4168, allocations: 29.7 kB / 1.336 GB, free: 7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.417, allocations: 176 kB / 1.336 GB, free: 6.824 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.417, allocations: 35.67 kB / 1.336 GB, free: 6.789 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.877e-05/0.4171, allocations: 37.67 kB / 1.337 GB, free: 6.746 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4173, allocations: 330.8 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.4174, allocations: 43.97 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.4175, allocations: 114 kB / 1.337 GB, free: 6.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.4178, allocations: 168.4 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.4178, allocations: 0 / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004267/0.4182, allocations: 210.1 kB / 1.337 GB, free: 5.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.4183, allocations: 9.719 kB / 1.337 GB, free: 5.812 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.4183, allocations: 8.281 kB / 1.337 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002065/0.4185, allocations: 36.77 kB / 1.337 GB, free: 5.766 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.4186, allocations: 35.92 kB / 1.337 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.42, allocations: 1.318 MB / 1.339 GB, free: 4.301 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.4202, allocations: 15.92 kB / 1.339 GB, free: 4.285 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.34e-05/0.4202, allocations: 12 kB / 1.339 GB, free: 4.273 MB / 1.029 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.0002033/0.4204, allocations: 154.2 kB / 1.339 GB, free: 4.113 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.016e-05/0.4204, allocations: 19.91 kB / 1.339 GB, free: 4.094 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.4205, allocations: 17.41 kB / 1.339 GB, free: 4.07 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4205, allocations: 0 / 1.339 GB, free: 4.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.4205, allocations: 4 kB / 1.339 GB, free: 4.066 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.4205, allocations: 3.984 kB / 1.339 GB, free: 4.062 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007902/0.4213, allocations: 462.2 kB / 1.339 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.4213, allocations: 0 / 1.339 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.95e-05/0.4214, allocations: 12 kB / 1.339 GB, free: 3.547 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.687e-05/0.4215, allocations: 28.83 kB / 1.339 GB, free: 3.516 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.4215, allocations: 4.094 kB / 1.339 GB, free: 3.512 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/0.423, allocations: 1.322 MB / 1.341 GB, free: 2.074 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.423, allocations: 3.984 kB / 1.341 GB, free: 2.07 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.4234, allocations: 240.8 kB / 1.341 GB, free: 1.816 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.4235, allocations: 27.83 kB / 1.341 GB, free: 1.789 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.4235, allocations: 0 / 1.341 GB, free: 1.789 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.4236, allocations: 11.92 kB / 1.341 GB, free: 1.777 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.561e-05/0.4237, allocations: 7.984 kB / 1.341 GB, free: 1.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/0.4238, allocations: 4 kB / 1.341 GB, free: 1.766 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001868/0.424, allocations: 156.1 kB / 1.341 GB, free: 1.613 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.424, allocations: 0 / 1.341 GB, free: 1.613 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005208/0.4245, allocations: 55.89 kB / 1.341 GB, free: 1.559 MB / 1.029 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.0008061/0.4253, allocations: 0.7718 MB / 1.342 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006003/0.4259, allocations: 226.7 kB / 1.342 GB, free: 0.5195 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4259, allocations: 0 / 1.342 GB, free: 0.5195 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002826/0.4262, allocations: 162.6 kB / 1.342 GB, free: 356 kB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.4267, allocations: 33.61 kB / 1.342 GB, free: 324 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.4298, allocations: 2.166 MB / 1.344 GB, free: 14.01 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004555/0.4303, allocations: 0.7593 MB / 1.345 GB, free: 13.22 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001233/0.4304, allocations: 25.47 kB / 1.345 GB, free: 13.19 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.4305, allocations: 63.41 kB / 1.345 GB, free: 13.13 MB / 1.045 GB Notification: Performance of SimCode: time 6.52e-07/0.4305, allocations: 192 / 1.345 GB, free: 13.13 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03862/0.4691, allocations: 4.201 MB / 1.349 GB, free: 9.086 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.2, allocations: 16.38 kB / 1.349 GB, free: 9.078 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.30446548992768]