Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.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.001829/0.001829, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002401/0.002401, allocations: 217.5 kB / 22.25 MB, free: 5.105 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.517/1.517, allocations: 230.6 MB / 256 MB, free: 7.805 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.281/3.281, allocations: 0.49 GB / 0.7951 GB, free: 35.65 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.Controls.OBC.CDL.Reals.Validation.Multiply,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply",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.002028/0.002028, allocations: 66.75 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4318, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Multiply): time 0.002161/0.434, allocations: 0.7014 MB / 1.327 GB, free: 0.7969 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.4352, allocations: 0.8319 MB / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.4353, allocations: 0 / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.213e-05/0.4353, allocations: 0 / 1.327 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.977e-05/0.4354, allocations: 15.86 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 8.117e-05/0.4355, allocations: 11.98 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.4356, allocations: 43.84 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001347/0.4358, allocations: 8 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 8.503e-05/0.4358, allocations: 27.92 kB / 1.327 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.704e-05/0.4359, allocations: 19.91 kB / 1.328 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.52e-05/0.4359, allocations: 4 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.016e-05/0.4359, allocations: 4 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.973e-05/0.436, allocations: 4 kB / 1.328 GB, free: 15.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.702e-05/0.436, allocations: 15.92 kB / 1.328 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.4361, allocations: 55.95 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4361, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4361, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.4361, allocations: 0 / 1.328 GB, free: 15.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006121/0.4367, allocations: 290.2 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.4368, allocations: 8.031 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/0.4368, allocations: 34.75 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.4369, allocations: 4.938 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.437, allocations: 118.4 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.437, allocations: 384 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.249e-05/0.437, allocations: 384 / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.4372, allocations: 74.22 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.4373, allocations: 7.938 kB / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.4373, allocations: 0 / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.727e-06/0.4373, allocations: 0 / 1.328 GB, free: 15.15 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002769/0.4375, allocations: 67.86 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.4379, allocations: 228 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002076/0.4381, allocations: 58.53 kB / 1.328 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.4383, allocations: 32.92 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.4383, allocations: 4 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/0.4383, allocations: 34.5 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4383, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005653/0.4389, allocations: 137.5 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.342e-05/0.4389, allocations: 51.41 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.146e-05/0.439, allocations: 113.8 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.439, allocations: 25.7 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.4391, allocations: 84.14 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.4391, allocations: 15.88 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.4392, allocations: 9.719 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.4393, allocations: 318.8 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.4395, allocations: 35.95 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001296/0.4396, allocations: 31.97 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.4398, allocations: 72.66 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4398, allocations: 0 / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003169/0.4402, allocations: 101.6 kB / 1.329 GB, free: 13.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4402, allocations: 8 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4402, allocations: 3.938 kB / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.4402, allocations: 0 / 1.329 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.4403, allocations: 11.98 kB / 1.329 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.4403, allocations: 3.984 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.633e-05/0.4404, allocations: 11.98 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.4404, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 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 (3): * Single equations (assignments): 3 * 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 0.0001017/0.4405, allocations: 129.5 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.975e-05/0.4406, allocations: 7.953 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.4406, allocations: 4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.4406, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4406, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.4406, allocations: 0 / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001925/0.4408, allocations: 148.6 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4408, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.986e-05/0.4409, allocations: 15.98 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.4409, allocations: 4 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.4409, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4409, allocations: 0 / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4409, allocations: 4 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.4413, allocations: 199.4 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.4413, allocations: 3.953 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.4413, allocations: 0 / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.4414, allocations: 15.98 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.4415, allocations: 15.92 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.4415, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.4415, allocations: 79.28 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4415, allocations: 4 kB / 1.33 GB, free: 12.89 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002208/0.4417, allocations: 8 kB / 1.33 GB, free: 12.89 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 (3): * Single equations (assignments): 3 * 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.000714/0.4425, allocations: 0.7245 MB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003497/0.4428, allocations: 71.86 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4428, allocations: 0 / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.4429, allocations: 39.98 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.4433, allocations: 8 kB / 1.331 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00048/0.4438, allocations: 156.4 kB / 1.331 GB, free: 11.83 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.861e-05/0.4438, allocations: 67.28 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.027e-05/0.4439, allocations: 4 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/0.4439, allocations: 11.44 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/0.4439, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02921/0.4731, allocations: 2.224 MB / 1.333 GB, free: 9.641 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.63, allocations: 2.031 kB / 1.333 GB, free: 9.641 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Multiply.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Multiply.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.557517358014593]