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.00142/0.00142, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001471/0.001471, allocations: 216.4 kB / 23.04 MB, free: 5.078 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.802/2.802, allocations: 476.7 MB / 0.7715 GB, free: 4.355 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="cs",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.002015/0.002015, allocations: 63.91 kB / 1.118 GB, free: 39.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3355, allocations: 170 MB / 1.284 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.00558/0.341, allocations: 3.346 MB / 1.287 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00283/0.3439, allocations: 1.496 MB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001599/0.344, allocations: 11.94 kB / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001162/0.3452, allocations: 361.9 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003986/0.3456, allocations: 151.2 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.3461, allocations: 155.6 kB / 1.289 GB, free: 6.098 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004629/0.3465, allocations: 330.9 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004619/0.347, allocations: 203.6 kB / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002768/0.3473, allocations: 155.5 kB / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.3476, allocations: 155.4 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.3476, allocations: 20 kB / 1.29 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003387/0.348, allocations: 187.5 kB / 1.29 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.3481, allocations: 83.73 kB / 1.291 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001643/0.3482, allocations: 123.4 kB / 1.291 GB, free: 4.863 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005628/0.3488, allocations: 358.7 kB / 1.291 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3488, allocations: 0 / 1.291 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.358e-06/0.3488, allocations: 3.984 kB / 1.291 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.287e-05/0.3488, allocations: 3.938 kB / 1.291 GB, free: 4.504 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.0009272/0.3497, allocations: 485.3 kB / 1.292 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3498, allocations: 8.031 kB / 1.292 GB, free: 3.988 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.114e-05/0.3498, allocations: 16.62 kB / 1.292 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.554e-05/0.3499, allocations: 58.72 kB / 1.292 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000647/0.3505, allocations: 84.67 kB / 1.292 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003425/0.3509, allocations: 206.8 kB / 1.292 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.097e-05/0.3509, allocations: 16.81 kB / 1.292 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.3509, allocations: 16.38 kB / 1.292 GB, free: 3.562 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005839/0.3515, allocations: 316.2 kB / 1.292 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3515, allocations: 0 / 1.292 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.3516, allocations: 11.98 kB / 1.292 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.3516, allocations: 20.42 kB / 1.292 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004361/0.352, allocations: 213.5 kB / 1.292 GB, free: 2.992 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.3539, allocations: 1.455 MB / 1.294 GB, free: 1.379 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/0.3543, allocations: 118.6 kB / 1.294 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.925e-05/0.3544, allocations: 40.83 kB / 1.294 GB, free: 1.211 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.3544, allocations: 4 kB / 1.294 GB, free: 1.207 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.3544, allocations: 34.55 kB / 1.294 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.3544, allocations: 0 / 1.294 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0005799/0.355, allocations: 198.2 kB / 1.294 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.3551, allocations: 55.41 kB / 1.294 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.3553, allocations: 214.9 kB / 1.294 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.082e-05/0.3553, allocations: 25.7 kB / 1.295 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.3555, allocations: 180 kB / 1.295 GB, free: 476 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.3555, allocations: 31.73 kB / 1.295 GB, free: 444 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.828e-05/0.3555, allocations: 41.61 kB / 1.295 GB, free: 396 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3557, allocations: 330.8 kB / 1.295 GB, free: 56 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.3558, allocations: 43.97 kB / 1.295 GB, free: 12 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.356, allocations: 106 kB / 1.295 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002563/0.3562, allocations: 168.4 kB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.3562, allocations: 4 kB / 1.295 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004107/0.3566, allocations: 210.4 kB / 1.296 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3567, allocations: 12.03 kB / 1.296 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3567, allocations: 0 / 1.296 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001703/0.3568, allocations: 32.78 kB / 1.296 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.357, allocations: 31.92 kB / 1.296 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.3583, allocations: 1.326 MB / 1.297 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.3584, allocations: 23.83 kB / 1.297 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.609e-05/0.3584, allocations: 8.047 kB / 1.297 GB, free: 13.91 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.0001621/0.3586, allocations: 160.6 kB / 1.297 GB, free: 13.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.692e-05/0.3586, allocations: 19.91 kB / 1.297 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.602e-05/0.3587, allocations: 21.39 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3587, allocations: 0 / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.3587, allocations: 0 / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3587, allocations: 96 / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006719/0.3593, allocations: 462.2 kB / 1.298 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.3593, allocations: 4 kB / 1.298 GB, free: 13.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.543e-05/0.3594, allocations: 11.98 kB / 1.298 GB, free: 13.19 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.239e-05/0.3595, allocations: 24.84 kB / 1.298 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.3595, allocations: 3.938 kB / 1.298 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001158/0.3607, allocations: 1.322 MB / 1.299 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3607, allocations: 0 / 1.299 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.3611, allocations: 244.3 kB / 1.299 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.3611, allocations: 23.84 kB / 1.299 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.3612, allocations: 7.984 kB / 1.299 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.3613, allocations: 4 kB / 1.299 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.3613, allocations: 7.984 kB / 1.299 GB, free: 11.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.3613, allocations: 7.938 kB / 1.299 GB, free: 11.41 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001827/0.3615, allocations: 143.2 kB / 1.299 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3615, allocations: 4 kB / 1.299 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003506/0.3619, allocations: 55.89 kB / 1.299 GB, free: 11.21 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.0006534/0.3625, allocations: 0.7644 MB / 1.3 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004531/0.363, allocations: 234.4 kB / 1.3 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.363, allocations: 0 / 1.3 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002337/0.3632, allocations: 158.7 kB / 1.301 GB, free: 10 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.3636, allocations: 50.64 kB / 1.301 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.3664, allocations: 2.161 MB / 1.303 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.3668, allocations: 0.7632 MB / 1.303 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.3669, allocations: 25.48 kB / 1.303 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.685e-05/0.367, allocations: 63.41 kB / 1.304 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of SimCode: time 9.62e-07/0.367, allocations: 0 / 1.304 GB, free: 6.781 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03465/0.4017, allocations: 4.225 MB / 1.308 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.56/11.96, allocations: 10.67 kB / 1.308 GB, free: 2.719 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.774068314000033]