Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.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.0007665/0.0007665, 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.0007486/0.0007486, allocations: 170.3 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.8678/0.8678, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.659/1.659, allocations: 377.8 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Convection.Examples.Exterior,fileNamePrefix="Buildings_12_Buildings_HeatTransfer_Convection_Examples_Exterior",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 0.9809 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071e-05/1.22e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.641 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Convection.Examples.Exterior): time 0.002322/0.002334, allocations: 2.541 MB / 0.9834 GB, free: 88 kB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.002091/0.004425, allocations: 1.733 MB / 0.9851 GB, free: 14.34 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.004543, allocations: 11.94 kB / 0.9851 GB, free: 14.33 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 7.246e-05/0.004615, allocations: 47.45 kB / 0.9851 GB, free: 14.29 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003685/0.004983, allocations: 161.8 kB / 0.9853 GB, free: 14.13 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.005573, allocations: 394.9 kB / 0.9857 GB, free: 13.74 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0004309/0.006004, allocations: 0.5097 MB / 0.9862 GB, free: 13.23 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001698/0.006174, allocations: 101.7 kB / 0.9863 GB, free: 13.13 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002392/0.006413, allocations: 323.2 kB / 0.9866 GB, free: 12.81 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.006524, allocations: 127.6 kB / 0.9867 GB, free: 12.69 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.006553, allocations: 28 kB / 0.9867 GB, free: 12.66 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003863/0.006939, allocations: 447.3 kB / 0.9872 GB, free: 12.22 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 3.922e-05/0.006978, allocations: 75.69 kB / 0.9872 GB, free: 12.15 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 7.646e-05/0.007055, allocations: 123.7 kB / 0.9873 GB, free: 12.03 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004247/0.00748, allocations: 0.5958 MB / 0.9879 GB, free: 11.43 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.007482, allocations: 0 / 0.9879 GB, free: 11.43 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.062e-06/0.007483, allocations: 4 kB / 0.9879 GB, free: 11.43 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.007487, allocations: 0 / 0.9879 GB, free: 11.43 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0006412/0.008129, allocations: 0.6408 MB / 0.9886 GB, free: 10.75 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.008162, allocations: 8.031 kB / 0.9886 GB, free: 10.75 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.675e-05/0.008209, allocations: 66.72 kB / 0.9886 GB, free: 10.67 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003939/0.008603, allocations: 116.6 kB / 0.9887 GB, free: 10.56 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.008876, allocations: 256.5 kB / 0.989 GB, free: 10.28 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.916e-05/0.008895, allocations: 29.03 kB / 0.989 GB, free: 10.25 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.008924, allocations: 32.38 kB / 0.989 GB, free: 10.22 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004045/0.009329, allocations: 310.5 kB / 0.9893 GB, free: 9.914 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.009338, allocations: 4.188 kB / 0.9893 GB, free: 9.91 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.42e-05/0.009362, allocations: 20.12 kB / 0.9894 GB, free: 9.891 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.009369, allocations: 11.94 kB / 0.9894 GB, free: 9.879 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004252/0.009794, allocations: 286.3 kB / 0.9896 GB, free: 9.598 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009119/0.01071, allocations: 0.7884 MB / 0.9904 GB, free: 8.762 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004832/0.01119, allocations: 285.4 kB / 0.9907 GB, free: 8.477 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000189/0.01138, allocations: 116.8 kB / 0.9908 GB, free: 8.359 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.297e-05/0.01145, allocations: 11.98 kB / 0.9908 GB, free: 8.348 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.01147, allocations: 34.56 kB / 0.9908 GB, free: 8.305 MB / 0.948 GB Notification: Performance of pre-optimization done (n=25): time 1.093e-06/0.01147, allocations: 0 / 0.9908 GB, free: 8.305 MB / 0.948 GB Notification: Performance of matching and sorting (n=25): time 0.001015/0.01249, allocations: 387.3 kB / 0.9912 GB, free: 7.922 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.835e-05/0.01251, allocations: 59.34 kB / 0.9913 GB, free: 7.852 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.01272, allocations: 337.7 kB / 0.9916 GB, free: 7.512 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.01274, allocations: 29.7 kB / 0.9916 GB, free: 7.477 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.01283, allocations: 189.1 kB / 0.9918 GB, free: 7.285 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.01287, allocations: 91.2 kB / 0.9919 GB, free: 7.195 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.01294, allocations: 61.95 kB / 0.9919 GB, free: 7.125 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.485e-05/0.01302, allocations: 350.7 kB / 0.9923 GB, free: 6.773 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.0132, allocations: 100.5 kB / 0.9924 GB, free: 6.676 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.01338, allocations: 109.6 kB / 0.9925 GB, free: 6.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003616/0.01374, allocations: 235.4 kB / 0.9927 GB, free: 6.34 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.01374, allocations: 0 / 0.9927 GB, free: 6.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004787/0.01422, allocations: 337.4 kB / 0.993 GB, free: 6.004 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.01423, allocations: 6.5 kB / 0.993 GB, free: 6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.01424, allocations: 3.938 kB / 0.993 GB, free: 5.996 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.01425, allocations: 0 / 0.993 GB, free: 5.996 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001884/0.01444, allocations: 71.94 kB / 0.9931 GB, free: 5.926 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.371e-06/0.01444, allocations: 4.109 kB / 0.9931 GB, free: 5.922 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.01456, allocations: 51.58 kB / 0.9932 GB, free: 5.871 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.01458, allocations: 19.92 kB / 0.9932 GB, free: 5.852 MB / 0.948 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 (33): * Single equations (assignments): 33 * 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 8.952e-05/0.01467, allocations: 137.8 kB / 0.9933 GB, free: 5.707 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.64e-05/0.01474, allocations: 39.81 kB / 0.9933 GB, free: 5.668 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005263/0.01527, allocations: 376 kB / 0.9937 GB, free: 5.285 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.01527, allocations: 0 / 0.9937 GB, free: 5.285 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.01527, allocations: 0 / 0.9937 GB, free: 5.285 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.01527, allocations: 0 / 0.9937 GB, free: 5.285 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.01546, allocations: 292.4 kB / 0.994 GB, free: 4.957 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.01547, allocations: 0 / 0.994 GB, free: 4.957 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.0156, allocations: 51.95 kB / 0.994 GB, free: 4.906 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.0156, allocations: 0 / 0.994 GB, free: 4.906 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.01561, allocations: 11.98 kB / 0.994 GB, free: 4.895 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01562, allocations: 0 / 0.994 GB, free: 4.895 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01562, allocations: 3.938 kB / 0.9941 GB, free: 4.891 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004173/0.01603, allocations: 306.7 kB / 0.9943 GB, free: 4.574 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-05/0.01611, allocations: 59.66 kB / 0.9944 GB, free: 4.516 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.01614, allocations: 8 kB / 0.9944 GB, free: 4.508 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.01624, allocations: 15.98 kB / 0.9944 GB, free: 4.492 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.01627, allocations: 19.97 kB / 0.9944 GB, free: 4.473 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.01628, allocations: 7.984 kB / 0.9945 GB, free: 4.465 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001425/0.01643, allocations: 247.2 kB / 0.9947 GB, free: 4.227 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.01643, allocations: 0 / 0.9947 GB, free: 4.227 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002131/0.01664, allocations: 107.8 kB / 0.9948 GB, free: 4.121 MB / 0.948 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 (21): * Single equations (assignments): 21 * 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.0006601/0.0173, allocations: 0.8791 MB / 0.9956 GB, free: 3.211 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004078/0.01771, allocations: 232 kB / 0.9959 GB, free: 2.984 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.01771, allocations: 4 kB / 0.9959 GB, free: 2.98 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.01788, allocations: 112.4 kB / 0.996 GB, free: 2.871 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.01822, allocations: 114.2 kB / 0.9961 GB, free: 2.766 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002986/0.0212, allocations: 3.05 MB / 0.9991 GB, free: 15.64 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.978e-05/0.02129, allocations: 169.2 kB / 0.9992 GB, free: 15.45 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0001673/0.02146, allocations: 87.05 kB / 0.9993 GB, free: 15.37 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.02159, allocations: 108.4 kB / 0.9994 GB, free: 15.26 MB / 0.9636 GB Notification: Performance of SimCode: time 6.01e-07/0.02159, allocations: 0 / 0.9994 GB, free: 15.26 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.04128, allocations: 9.988 MB / 1.009 GB, free: 5.535 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.572/6.613, allocations: 10.81 kB / 1.009 GB, free: 5.527 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat --tempDir=temp_Buildings_12_Buildings_HeatTransfer_Convection_Examples_Exterior_fmu --startTime=0 --stopTime=3600 --stepSize=0.719712 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_HeatTransfer_Convection_Examples_Exterior.fmu > Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Convection_Examples_Exterior.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.HeatTransfer.Convection.Examples.Exterior.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.490136172622442]