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.001794/0.001794, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002421/0.002421, allocations: 215.7 kB / 22.25 MB, free: 5.258 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.785 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.174/3.174, allocations: 0.49 GB / 0.7951 GB, free: 35.67 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.002011/0.002011, allocations: 73.75 kB / 1.154 GB, free: 25.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3567, allocations: 176.1 MB / 1.326 GB, free: 1.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005242/0.3619, allocations: 3.209 MB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002533/0.3644, allocations: 1.402 MB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.3646, allocations: 7.938 kB / 1.33 GB, free: 12.87 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.3657, allocations: 330.7 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004049/0.3661, allocations: 151.2 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000434/0.3665, allocations: 167.5 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004186/0.367, allocations: 334.8 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004175/0.3674, allocations: 204 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002447/0.3676, allocations: 147.5 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002993/0.3679, allocations: 155.4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.756e-05/0.368, allocations: 23.98 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002882/0.3682, allocations: 151.7 kB / 1.332 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.3684, allocations: 91.7 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001281/0.3685, allocations: 103.5 kB / 1.332 GB, free: 11.03 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004897/0.369, allocations: 362.6 kB / 1.332 GB, free: 10.68 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.369, allocations: 4 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.176e-06/0.369, allocations: 4 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.369, allocations: 0 / 1.332 GB, free: 10.67 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.000935/0.3699, allocations: 479.1 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.37, allocations: 12.03 kB / 1.333 GB, free: 10.16 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.584e-05/0.37, allocations: 54.73 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006426/0.3707, allocations: 96.66 kB / 1.333 GB, free: 10 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.371, allocations: 194.8 kB / 1.333 GB, free: 9.785 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.371, allocations: 16.75 kB / 1.333 GB, free: 9.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.76e-05/0.3711, allocations: 20.38 kB / 1.333 GB, free: 9.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000564/0.3717, allocations: 393.6 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3717, allocations: 0 / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.3717, allocations: 11.94 kB / 1.334 GB, free: 9.309 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.901e-05/0.3717, allocations: 28.36 kB / 1.334 GB, free: 9.281 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/0.3721, allocations: 213.6 kB / 1.334 GB, free: 9.07 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.3736, allocations: 1.061 MB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004064/0.374, allocations: 122.6 kB / 1.335 GB, free: 7.809 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.427e-05/0.3741, allocations: 36.84 kB / 1.335 GB, free: 7.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.3741, allocations: 7.922 kB / 1.335 GB, free: 7.762 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/0.3742, allocations: 38.56 kB / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.3742, allocations: 0 / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0005665/0.3747, allocations: 186.3 kB / 1.335 GB, free: 7.523 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.3748, allocations: 51.41 kB / 1.335 GB, free: 7.461 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.375, allocations: 218.8 kB / 1.336 GB, free: 7.238 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.375, allocations: 29.64 kB / 1.336 GB, free: 7.203 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001343/0.3752, allocations: 184 kB / 1.336 GB, free: 7.02 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.3752, allocations: 27.75 kB / 1.336 GB, free: 6.992 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.725e-05/0.3753, allocations: 33.7 kB / 1.336 GB, free: 6.953 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00016/0.3754, allocations: 326.8 kB / 1.336 GB, free: 6.625 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.3755, allocations: 43.97 kB / 1.336 GB, free: 6.582 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.3757, allocations: 116.5 kB / 1.336 GB, free: 6.438 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002646/0.3759, allocations: 168.4 kB / 1.336 GB, free: 6.242 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.3759, allocations: 4 kB / 1.336 GB, free: 6.238 MB / 1.029 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004243/0.3764, allocations: 214.1 kB / 1.337 GB, free: 6.02 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.3764, allocations: 9.719 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.3764, allocations: 0 / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002157/0.3766, allocations: 36.72 kB / 1.337 GB, free: 5.973 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.3768, allocations: 28.27 kB / 1.337 GB, free: 5.945 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001412/0.3782, allocations: 1.318 MB / 1.338 GB, free: 4.516 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001614/0.3783, allocations: 19.84 kB / 1.338 GB, free: 4.496 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.3784, allocations: 8 kB / 1.338 GB, free: 4.488 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.0001848/0.3785, allocations: 158.2 kB / 1.338 GB, free: 4.324 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.3786, allocations: 20.06 kB / 1.338 GB, free: 4.305 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.449e-05/0.3786, allocations: 17.41 kB / 1.338 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3786, allocations: 0 / 1.338 GB, free: 4.281 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3786, allocations: 3.984 kB / 1.338 GB, free: 4.277 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3786, allocations: 3.938 kB / 1.338 GB, free: 4.273 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00069/0.3793, allocations: 450.6 kB / 1.339 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.3793, allocations: 0 / 1.339 GB, free: 3.781 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.521e-05/0.3794, allocations: 8 kB / 1.339 GB, free: 3.773 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.295e-05/0.3795, allocations: 28.84 kB / 1.339 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.3795, allocations: 0 / 1.339 GB, free: 3.742 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.3806, allocations: 1.326 MB / 1.34 GB, free: 2.301 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3806, allocations: 3.984 kB / 1.34 GB, free: 2.297 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.3809, allocations: 236.2 kB / 1.34 GB, free: 2.047 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.346e-05/0.381, allocations: 19.89 kB / 1.34 GB, free: 2.027 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.381, allocations: 8.156 kB / 1.34 GB, free: 2.02 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.3811, allocations: 12.08 kB / 1.34 GB, free: 2.008 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.815e-05/0.3812, allocations: 7.922 kB / 1.34 GB, free: 2 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3812, allocations: 4 kB / 1.34 GB, free: 1.996 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001518/0.3814, allocations: 156.3 kB / 1.34 GB, free: 1.844 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3814, allocations: 0 / 1.34 GB, free: 1.844 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003596/0.3817, allocations: 59.84 kB / 1.341 GB, free: 1.785 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.0006916/0.3824, allocations: 0.7678 MB / 1.341 GB, free: 0.9844 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004745/0.3829, allocations: 222.5 kB / 1.341 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3829, allocations: 4 kB / 1.341 GB, free: 0.75 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.3831, allocations: 154.7 kB / 1.342 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003856/0.3835, allocations: 41.81 kB / 1.342 GB, free: 0.5469 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.3861, allocations: 2.166 MB / 1.344 GB, free: 14.25 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/0.3863, allocations: 140.2 kB / 1.344 GB, free: 14.09 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.3864, allocations: 29.47 kB / 1.344 GB, free: 14.06 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.682e-05/0.3865, allocations: 59.41 kB / 1.344 GB, free: 14 MB / 1.045 GB Notification: Performance of SimCode: time 7.81e-07/0.3865, allocations: 0 / 1.344 GB, free: 14 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.4229, allocations: 4.769 MB / 1.349 GB, free: 9.41 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.55/11.98, allocations: 14.09 kB / 1.349 GB, free: 9.402 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.704665400000522]