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.001834/0.001834, allocations: 103.6 kB / 18.95 MB, free: 2.547 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.002231/0.002231, allocations: 214.6 kB / 22.25 MB, free: 4.867 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.507/1.507, allocations: 230.6 MB / 256 MB, free: 7.797 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.145/3.145, allocations: 0.4892 GB / 0.7943 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 177] 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.002109/0.002109, allocations: 63.47 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3402, allocations: 176.1 MB / 1.325 GB, free: 2.371 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006517/0.3467, allocations: 3.204 MB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002952/0.3497, allocations: 1.395 MB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.3499, allocations: 11.94 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.3512, allocations: 335.6 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005346/0.3518, allocations: 147.2 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000556/0.3523, allocations: 163.5 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005196/0.3528, allocations: 334.8 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004856/0.3533, allocations: 200 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003311/0.3536, allocations: 151.5 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003485/0.354, allocations: 139.5 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.601e-05/0.354, allocations: 20 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004188/0.3545, allocations: 159.6 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001105/0.3546, allocations: 87.72 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001788/0.3548, allocations: 103.5 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005768/0.3553, allocations: 366.6 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3553, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3553, allocations: 0 / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.736e-06/0.3553, allocations: 0 / 1.332 GB, free: 11.57 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.001025/0.3564, allocations: 489.3 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.3564, allocations: 12.03 kB / 1.332 GB, free: 11.05 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.946e-05/0.3565, allocations: 58.72 kB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007135/0.3572, allocations: 92.67 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003966/0.3576, allocations: 206.8 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.3576, allocations: 12.81 kB / 1.332 GB, free: 10.65 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.657e-05/0.3577, allocations: 20.38 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006908/0.3584, allocations: 389.6 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.3584, allocations: 3.938 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.895e-05/0.3584, allocations: 12 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.862e-05/0.3585, allocations: 20.42 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004149/0.3589, allocations: 209.6 kB / 1.333 GB, free: 9.961 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.3605, allocations: 1.073 MB / 1.334 GB, free: 8.816 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/0.3609, allocations: 122.5 kB / 1.334 GB, free: 8.688 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.887e-05/0.361, allocations: 40.83 kB / 1.334 GB, free: 8.645 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.23e-05/0.3611, allocations: 0 / 1.334 GB, free: 8.645 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.814e-05/0.3611, allocations: 38.56 kB / 1.334 GB, free: 8.598 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.3611, allocations: 0 / 1.334 GB, free: 8.598 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.000566/0.3617, allocations: 178.4 kB / 1.335 GB, free: 8.414 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.096e-05/0.3617, allocations: 55.34 kB / 1.335 GB, free: 8.348 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.362, allocations: 218.8 kB / 1.335 GB, free: 8.125 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.362, allocations: 25.7 kB / 1.335 GB, free: 8.094 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.3621, allocations: 184 kB / 1.335 GB, free: 7.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.3622, allocations: 31.73 kB / 1.335 GB, free: 7.879 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.373e-05/0.3622, allocations: 33.72 kB / 1.335 GB, free: 7.84 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3624, allocations: 330.8 kB / 1.335 GB, free: 7.508 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.3625, allocations: 43.97 kB / 1.335 GB, free: 7.465 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.3627, allocations: 117.7 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.363, allocations: 168.4 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.363, allocations: 4 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004019/0.3634, allocations: 210.1 kB / 1.336 GB, free: 6.906 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3634, allocations: 8 kB / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.3634, allocations: 0 / 1.336 GB, free: 6.898 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/0.3636, allocations: 33.06 kB / 1.336 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.3637, allocations: 31.98 kB / 1.336 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.365, allocations: 1.322 MB / 1.337 GB, free: 5.398 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.3651, allocations: 31.77 kB / 1.337 GB, free: 5.367 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.3651, allocations: 4 kB / 1.337 GB, free: 5.363 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.0001527/0.3653, allocations: 154.5 kB / 1.337 GB, free: 5.203 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.596e-05/0.3653, allocations: 15.91 kB / 1.337 GB, free: 5.188 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.062e-05/0.3654, allocations: 21.39 kB / 1.337 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3654, allocations: 0 / 1.337 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.544e-06/0.3654, allocations: 0 / 1.337 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.3654, allocations: 0 / 1.337 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000684/0.3661, allocations: 458.2 kB / 1.338 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3661, allocations: 0 / 1.338 GB, free: 4.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.647e-05/0.3661, allocations: 11.98 kB / 1.338 GB, free: 4.648 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.315e-05/0.3662, allocations: 28.84 kB / 1.338 GB, free: 4.617 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.3662, allocations: 3.938 kB / 1.338 GB, free: 4.613 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.3674, allocations: 1.31 MB / 1.339 GB, free: 3.188 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3674, allocations: 0 / 1.339 GB, free: 3.188 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000358/0.3678, allocations: 236.1 kB / 1.339 GB, free: 2.938 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.467e-05/0.3678, allocations: 28.05 kB / 1.339 GB, free: 2.91 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.3678, allocations: 3.984 kB / 1.339 GB, free: 2.906 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.368, allocations: 8 kB / 1.339 GB, free: 2.898 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.629e-05/0.368, allocations: 3.984 kB / 1.339 GB, free: 2.895 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.368, allocations: 8 kB / 1.339 GB, free: 2.887 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0002036/0.3682, allocations: 152.3 kB / 1.34 GB, free: 2.738 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3682, allocations: 0 / 1.34 GB, free: 2.738 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000349/0.3686, allocations: 59.84 kB / 1.34 GB, free: 2.68 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.0006651/0.3692, allocations: 0.7732 MB / 1.34 GB, free: 1.875 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004399/0.3697, allocations: 222.5 kB / 1.341 GB, free: 1.645 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.3697, allocations: 4.281 kB / 1.341 GB, free: 1.641 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002322/0.3699, allocations: 158.6 kB / 1.341 GB, free: 1.473 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.3703, allocations: 53.44 kB / 1.341 GB, free: 1.422 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.373, allocations: 2.157 MB / 1.343 GB, free: 15.13 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001641/0.3731, allocations: 144.2 kB / 1.343 GB, free: 14.96 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001064/0.3732, allocations: 29.86 kB / 1.343 GB, free: 14.94 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.651e-05/0.3733, allocations: 55.42 kB / 1.343 GB, free: 14.88 MB / 1.045 GB Notification: Performance of SimCode: time 4.21e-07/0.3733, allocations: 0 / 1.343 GB, free: 14.88 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03683/0.4102, allocations: 4.704 MB / 1.348 GB, free: 10.36 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.91/12.33, allocations: 7.922 kB / 1.348 GB, free: 10.36 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: 18.895930440630764]