Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.001887/0.001887, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00209/0.00209, allocations: 214.9 kB / 23.04 MB, free: 5.07 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.801/2.801, allocations: 476.7 MB / 0.7714 GB, free: 4.273 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.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin",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.001992/0.001992, allocations: 61.59 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3229, allocations: 170 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001908/0.3248, allocations: 0.68 MB / 1.285 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.3259, allocations: 0.8472 MB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.3259, allocations: 0 / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.615e-05/0.3259, allocations: 3.938 kB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.947e-05/0.326, allocations: 7.938 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001662/0.3261, allocations: 11.97 kB / 1.286 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.116e-05/0.3262, allocations: 31.92 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.32e-05/0.3263, allocations: 0 / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.896e-05/0.3263, allocations: 8 kB / 1.286 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.278e-05/0.3264, allocations: 15.92 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.3264, allocations: 0 / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.226e-05/0.3264, allocations: 8 kB / 1.286 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.252e-05/0.3265, allocations: 4 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.3265, allocations: 11.92 kB / 1.286 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.3266, allocations: 36.11 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3266, allocations: 0 / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3266, allocations: 0 / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.3266, allocations: 7.938 kB / 1.286 GB, free: 10.03 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004213/0.327, allocations: 262.3 kB / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3271, allocations: 8.031 kB / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.12e-05/0.3271, allocations: 192 / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.868e-05/0.3271, allocations: 30.75 kB / 1.286 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.724e-05/0.3272, allocations: 8.938 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.3273, allocations: 110.5 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.3273, allocations: 4.375 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.25e-05/0.3273, allocations: 4.375 kB / 1.286 GB, free: 9.547 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.3275, allocations: 49.98 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.515e-06/0.3275, allocations: 0 / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3275, allocations: 4 kB / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.3275, allocations: 0 / 1.286 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.3277, allocations: 35.91 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/0.3281, allocations: 223.9 kB / 1.287 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.3282, allocations: 38.59 kB / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.929e-05/0.3283, allocations: 16.91 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.3283, allocations: 0 / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.3283, allocations: 34.56 kB / 1.287 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.3283, allocations: 7.938 kB / 1.287 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.000357/0.3287, allocations: 81.58 kB / 1.287 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.879e-05/0.3287, allocations: 55.41 kB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.916e-05/0.3288, allocations: 101.8 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.643e-05/0.3288, allocations: 25.7 kB / 1.287 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.118e-05/0.3289, allocations: 84.08 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.3289, allocations: 12.08 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.666e-05/0.3289, allocations: 13.72 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3291, allocations: 318.8 kB / 1.287 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.719e-05/0.3292, allocations: 19.98 kB / 1.287 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.3e-05/0.3292, allocations: 11.98 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.3294, allocations: 48.77 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3294, allocations: 0 / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002027/0.3296, allocations: 61.66 kB / 1.287 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3296, allocations: 10.03 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.3296, allocations: 0 / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.3296, allocations: 0 / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.3297, allocations: 15.98 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.3297, allocations: 4.031 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.882e-05/0.3298, allocations: 7.984 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.3298, allocations: 0 / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.481e-05/0.3299, allocations: 109.8 kB / 1.288 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.3299, allocations: 3.953 kB / 1.288 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.3301, allocations: 76.91 kB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3301, allocations: 4.031 kB / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.3301, allocations: 192 / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.3301, allocations: 0 / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.3303, allocations: 136.7 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.3303, allocations: 4 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.3303, allocations: 4 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.3303, allocations: 3.984 kB / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.251e-06/0.3303, allocations: 0 / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3303, allocations: 0 / 1.288 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.3303, allocations: 8 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.3306, allocations: 167.4 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-06/0.3306, allocations: 4 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.143e-05/0.3306, allocations: 0 / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.3307, allocations: 4 kB / 1.288 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.3307, allocations: 3.984 kB / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.925e-06/0.3307, allocations: 0 / 1.288 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.624e-05/0.3308, allocations: 87.31 kB / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3308, allocations: 0 / 1.288 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002148/0.331, allocations: 7.938 kB / 1.288 GB, free: 7.477 MB / 0.9825 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005792/0.3316, allocations: 0.7007 MB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000211/0.3318, allocations: 39.84 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3318, allocations: 0 / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.611e-05/0.3319, allocations: 15.98 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003041/0.3322, allocations: 11.92 kB / 1.289 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004765/0.3326, allocations: 144 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.3329, allocations: 0.6729 MB / 1.29 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.333, allocations: 3.984 kB / 1.29 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.598e-05/0.333, allocations: 7.438 kB / 1.29 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.333, allocations: 0 / 1.29 GB, free: 5.785 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.3545, allocations: 1.4 MB / 1.291 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.85, allocations: 13.17 kB / 1.291 GB, free: 4.523 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Sin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.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.560710728983395]