Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.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.0008257/0.0008257, 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.0008348/0.0008348, 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.8923/0.8923, 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 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.741/1.741, allocations: 377.8 MB / 0.6221 GB, free: 8.668 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.Controls.OBC.CDL.Reals.Validation.Log10,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Log10,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Log10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.446e-06/3.446e-06, allocations: 3.938 kB / 0.981 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.719e-05, allocations: 2.281 kB / 0.981 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log10): time 0.00138/0.001407, allocations: 0.66 MB / 0.9817 GB, free: 1.852 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008557/0.002263, allocations: 0.8315 MB / 0.9825 GB, free: 1.008 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.443e-05/0.002297, allocations: 4 kB / 0.9825 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.469e-05/0.002322, allocations: 0 / 0.9825 GB, free: 1.004 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.725e-05/0.002379, allocations: 7.875 kB / 0.9825 GB, free: 0.9961 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.002571, allocations: 15.92 kB / 0.9825 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.487e-05/0.002636, allocations: 27.92 kB / 0.9825 GB, free: 0.9531 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.00273, allocations: 4 kB / 0.9825 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 7.104e-05/0.002801, allocations: 15.98 kB / 0.9826 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.233e-05/0.002833, allocations: 3.984 kB / 0.9826 GB, free: 0.9297 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.519e-05/0.002848, allocations: 4 kB / 0.9826 GB, free: 0.9258 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 4.16e-05/0.00289, allocations: 4 kB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.789e-05/0.002908, allocations: 11.92 kB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.628e-05/0.002924, allocations: 0 / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.003028, allocations: 27.95 kB / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.003031, allocations: 0 / 0.9826 GB, free: 0.8828 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.673e-06/0.003033, allocations: 3.938 kB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.003037, allocations: 4 kB / 0.9826 GB, free: 0.875 MB / 0.9323 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.0003555/0.003392, allocations: 266.3 kB / 0.9829 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.003438, allocations: 8.031 kB / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.942e-05/0.003468, allocations: 30.75 kB / 0.9829 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.971e-05/0.003537, allocations: 8.891 kB / 0.9829 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.422e-05/0.003621, allocations: 117.8 kB / 0.983 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.003632, allocations: 384 / 0.983 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.00364, allocations: 384 / 0.983 GB, free: 396 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.003772, allocations: 50.23 kB / 0.9831 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.00378, allocations: 8.188 kB / 0.9831 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.003788, allocations: 384 / 0.9831 GB, free: 332 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.003794, allocations: 8.062 kB / 0.9831 GB, free: 324 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.597e-05/0.00388, allocations: 31.97 kB / 0.9831 GB, free: 292 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.004157, allocations: 216 kB / 0.9833 GB, free: 32 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 9.595e-05/0.004253, allocations: 34.56 kB / 0.9834 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.418e-05/0.004297, allocations: 16.91 kB / 0.9834 GB, free: 15.97 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.004317, allocations: 8 kB / 0.9834 GB, free: 15.96 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.004339, allocations: 38.48 kB / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.00434, allocations: 0 / 0.9834 GB, free: 15.91 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0002221/0.004562, allocations: 85.53 kB / 0.9835 GB, free: 15.82 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.00459, allocations: 51.41 kB / 0.9836 GB, free: 15.76 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.005e-05/0.00465, allocations: 101.8 kB / 0.9837 GB, free: 15.65 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.004659, allocations: 25.7 kB / 0.9837 GB, free: 15.62 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.768e-05/0.004697, allocations: 92.22 kB / 0.9838 GB, free: 15.53 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.004712, allocations: 3.953 kB / 0.9838 GB, free: 15.52 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.004738, allocations: 17.72 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.533e-05/0.004814, allocations: 314.8 kB / 0.9841 GB, free: 15.18 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.312e-05/0.004857, allocations: 15.98 kB / 0.9841 GB, free: 15.17 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.004893, allocations: 15.98 kB / 0.9841 GB, free: 15.15 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.871e-05/0.004971, allocations: 36.88 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.004973, allocations: 4 kB / 0.9842 GB, free: 15.11 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001258/0.005099, allocations: 69.55 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.005113, allocations: 4 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.005119, allocations: 4 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.005132, allocations: 3.984 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.639e-05/0.005198, allocations: 4 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.005203, allocations: 0 / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.472e-05/0.005227, allocations: 16.02 kB / 0.9843 GB, free: 15 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.005232, allocations: 0 / 0.9843 GB, free: 15 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 (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 5.304e-05/0.005285, allocations: 109.8 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.389e-05/0.005299, allocations: 3.938 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.005438, allocations: 76.91 kB / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.00544, allocations: 0 / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.005444, allocations: 0 / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.005448, allocations: 3.984 kB / 0.9844 GB, free: 14.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.005554, allocations: 128.8 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.005555, allocations: 0 / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.94e-05/0.005584, allocations: 15.92 kB / 0.9846 GB, free: 14.62 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.005586, allocations: 3.938 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.005592, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.005594, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.005595, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.005717, allocations: 159.7 kB / 0.9847 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-06/0.005725, allocations: 11.92 kB / 0.9847 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.658e-06/0.005735, allocations: 4.031 kB / 0.9847 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.792e-05/0.005773, allocations: 11.98 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.005806, allocations: 7.938 kB / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-06/0.005809, allocations: 0 / 0.9848 GB, free: 14.41 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.674e-05/0.005835, allocations: 87.27 kB / 0.9848 GB, free: 14.32 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005835, allocations: 0 / 0.9848 GB, free: 14.32 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001489/0.005984, allocations: 4 kB / 0.9849 GB, free: 14.32 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 (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.000338/0.006322, allocations: 0.7006 MB / 0.9855 GB, free: 13.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.006456, allocations: 39.89 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.006458, allocations: 4 kB / 0.9856 GB, free: 13.55 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.879e-05/0.006497, allocations: 15.98 kB / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002534/0.00675, allocations: 4 kB / 0.9856 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.007116, allocations: 126.7 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.155e-05/0.007158, allocations: 59.34 kB / 0.9858 GB, free: 13.29 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.391e-05/0.007182, allocations: 4 kB / 0.9858 GB, free: 13.28 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.00722, allocations: 12.5 kB / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/0.007221, allocations: 0 / 0.9858 GB, free: 13.27 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01485/0.02207, allocations: 1.949 MB / 0.9877 GB, free: 11.45 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.721/6.743, allocations: 11.67 kB / 0.9877 GB, free: 11.45 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Log10_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Log10.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log10.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.754207508638501]