Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.0008495/0.0008495, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008823/0.0008823, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.91/0.91, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.659/1.659, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.312e-05, allocations: 5.094 kB / 0.9505 GB, free: 3.477 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.001776/0.001799, allocations: 0.8296 MB / 0.9513 GB, free: 2.641 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001356/0.001934, allocations: 59.7 kB / 0.9514 GB, free: 2.582 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.745e-05/0.001992, allocations: 4 kB / 0.9514 GB, free: 2.578 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.988e-05/0.002032, allocations: 7.875 kB / 0.9514 GB, free: 2.57 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.615e-05/0.002108, allocations: 15.8 kB / 0.9514 GB, free: 2.555 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 5.721e-05/0.002165, allocations: 19.98 kB / 0.9514 GB, free: 2.535 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.002287, allocations: 79.77 kB / 0.9515 GB, free: 2.457 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001528/0.00244, allocations: 45.27 kB / 0.9515 GB, free: 2.41 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.656e-05/0.002526, allocations: 47.84 kB / 0.9516 GB, free: 2.363 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.672e-05/0.002583, allocations: 27.89 kB / 0.9516 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.959e-05/0.002613, allocations: 8 kB / 0.9516 GB, free: 2.328 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.002623, allocations: 8 kB / 0.9516 GB, free: 2.32 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.125e-05/0.002645, allocations: 11.94 kB / 0.9516 GB, free: 2.309 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.567e-05/0.00268, allocations: 27.91 kB / 0.9517 GB, free: 2.281 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001205/0.002801, allocations: 103.5 kB / 0.9518 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.002803, allocations: 0 / 0.9518 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.222e-06/0.002804, allocations: 0 / 0.9518 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.002808, allocations: 0 / 0.9518 GB, free: 2.18 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0003603/0.003168, allocations: 334 kB / 0.9521 GB, free: 1.82 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.003207, allocations: 8.031 kB / 0.9521 GB, free: 1.812 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.684e-05/0.003243, allocations: 46.72 kB / 0.9521 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.003276, allocations: 12.84 kB / 0.9521 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.003436, allocations: 141.7 kB / 0.9523 GB, free: 1.582 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.003445, allocations: 4.562 kB / 0.9523 GB, free: 1.578 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.003456, allocations: 12.38 kB / 0.9523 GB, free: 1.566 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.003712, allocations: 109.9 kB / 0.9524 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.003719, allocations: 0 / 0.9524 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.003728, allocations: 0 / 0.9524 GB, free: 1.449 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.003734, allocations: 11.94 kB / 0.9524 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.722e-05/0.003801, allocations: 47.91 kB / 0.9525 GB, free: 1.391 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.004198, allocations: 415.6 kB / 0.9529 GB, free: 0.9375 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.388e-05/0.004252, allocations: 41.08 kB / 0.9529 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.742e-05/0.00428, allocations: 17.84 kB / 0.9529 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.004287, allocations: 4 kB / 0.9529 GB, free: 0.8516 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.004305, allocations: 30.56 kB / 0.9529 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.004306, allocations: 0 / 0.9529 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.0001342/0.00444, allocations: 61.55 kB / 0.953 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.004474, allocations: 81.09 kB / 0.9531 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.004591, allocations: 180.1 kB / 0.9532 GB, free: 472 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.004601, allocations: 25.7 kB / 0.9533 GB, free: 440 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.004658, allocations: 108 kB / 0.9534 GB, free: 328 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.736e-06/0.004667, allocations: 15.94 kB / 0.9534 GB, free: 312 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.004691, allocations: 13.72 kB / 0.9534 GB, free: 292 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.429e-05/0.004775, allocations: 322.8 kB / 0.9537 GB, free: 15.96 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/0.004791, allocations: 11.94 kB / 0.9537 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.68e-05/0.004808, allocations: 13.97 kB / 0.9537 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.375e-05/0.004842, allocations: 33.72 kB / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.004844, allocations: 0 / 0.9538 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.018e-05/0.004904, allocations: 61.75 kB / 0.9538 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.004917, allocations: 8 kB / 0.9538 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.00492, allocations: 3.938 kB / 0.9538 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.004931, allocations: 0 / 0.9538 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.958e-05/0.004981, allocations: 8 kB / 0.9538 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.004985, allocations: 0 / 0.9538 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.027e-05/0.005005, allocations: 15.95 kB / 0.9539 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.00501, allocations: 8 kB / 0.9539 GB, free: 15.78 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 5.766e-05/0.005068, allocations: 122.8 kB / 0.954 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.005089, allocations: 7.953 kB / 0.954 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.843e-05/0.005108, allocations: 12.5 kB / 0.954 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.005109, allocations: 0 / 0.954 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.005114, allocations: 7.938 kB / 0.954 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.005116, allocations: 0 / 0.954 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002574/0.005374, allocations: 445.8 kB / 0.9544 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005375, allocations: 0 / 0.9544 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.103e-05/0.005386, allocations: 8 kB / 0.9544 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.005388, allocations: 4 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.005393, allocations: 0 / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.005394, allocations: 0 / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.005396, allocations: 3.938 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.191e-05/0.005448, allocations: 81.89 kB / 0.9545 GB, free: 15.02 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.17e-05/0.00547, allocations: 11.94 kB / 0.9545 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.538e-06/0.005479, allocations: 0 / 0.9545 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.193e-05/0.005491, allocations: 4 kB / 0.9545 GB, free: 15 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.154e-05/0.005503, allocations: 12.03 kB / 0.9546 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-06/0.005504, allocations: 4.031 kB / 0.9546 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.838e-05/0.005573, allocations: 139.2 kB / 0.9547 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.005573, allocations: 0 / 0.9547 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001292/0.005702, allocations: 15.89 kB / 0.9547 GB, free: 14.83 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0002193/0.005921, allocations: 0.6139 MB / 0.9553 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.46e-05/0.005986, allocations: 15.92 kB / 0.9553 GB, free: 14.17 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.005988, allocations: 4 kB / 0.9553 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.043e-06/0.005995, allocations: 8.156 kB / 0.9553 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001262/0.006122, allocations: 14.59 kB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009537/0.007075, allocations: 1.405 MB / 0.9567 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.301e-05/0.007138, allocations: 84.31 kB / 0.9568 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.418e-05/0.007172, allocations: 12.61 kB / 0.9568 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.007226, allocations: 40.42 kB / 0.9569 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of SimCode: time 5.21e-07/0.007227, allocations: 0 / 0.9569 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01679/0.02401, allocations: 2.407 MB / 0.9592 GB, free: 10.23 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.62/6.644, allocations: 12.72 kB / 0.9592 GB, free: 10.22 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_degC.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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: 10.681089190766215]