Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.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.0008263/0.0008263, 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.0008055/0.0008055, allocations: 165.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.8998/0.8998, 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.704/1.704, allocations: 377.8 MB / 0.6221 GB, free: 8.684 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.MultiplyByParameter,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 0 / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.419e-05, allocations: 2.281 kB / 0.981 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter): time 0.001269/0.001293, allocations: 0.6781 MB / 0.9817 GB, free: 1.859 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0006882/0.001981, allocations: 0.812 MB / 0.9825 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.631e-05/0.002008, allocations: 0 / 0.9825 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.392e-05/0.002031, allocations: 0 / 0.9825 GB, free: 1.035 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 5.64e-05/0.002088, allocations: 11.88 kB / 0.9825 GB, free: 1.023 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 5.652e-05/0.002144, allocations: 11.98 kB / 0.9825 GB, free: 1.012 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 6.061e-05/0.002205, allocations: 19.94 kB / 0.9825 GB, free: 0.9922 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.002296, allocations: 11.98 kB / 0.9825 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 5.962e-05/0.002356, allocations: 8 kB / 0.9825 GB, free: 0.9727 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.773e-05/0.002384, allocations: 7.922 kB / 0.9825 GB, free: 0.9648 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.002403, allocations: 4 kB / 0.9825 GB, free: 0.9609 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.901e-06/0.002409, allocations: 4 kB / 0.9825 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.555e-05/0.002425, allocations: 7.984 kB / 0.9826 GB, free: 0.9492 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.002445, allocations: 3.984 kB / 0.9826 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 6.66e-05/0.002511, allocations: 23.91 kB / 0.9826 GB, free: 0.9219 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002513, allocations: 4 kB / 0.9826 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of FrontEnd: time 8.71e-07/0.002514, allocations: 7.938 kB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.186e-06/0.002517, allocations: 0 / 0.9826 GB, free: 0.9102 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.0003053/0.002823, allocations: 258.3 kB / 0.9828 GB, free: 0.625 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.00286, allocations: 12.03 kB / 0.9829 GB, free: 0.6133 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.403e-05/0.002884, allocations: 30.75 kB / 0.9829 GB, free: 0.5742 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.673e-05/0.002901, allocations: 4.922 kB / 0.9829 GB, free: 0.5703 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.89e-05/0.00297, allocations: 113.8 kB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.859e-06/0.00298, allocations: 4.312 kB / 0.983 GB, free: 440 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.064e-06/0.002987, allocations: 4.375 kB / 0.983 GB, free: 436 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.003095, allocations: 50.23 kB / 0.9831 GB, free: 380 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.003102, allocations: 4.172 kB / 0.9831 GB, free: 376 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.00311, allocations: 4.375 kB / 0.9831 GB, free: 372 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.003115, allocations: 4.125 kB / 0.9831 GB, free: 368 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.249e-05/0.003198, allocations: 27.97 kB / 0.9831 GB, free: 340 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002491/0.003447, allocations: 220 kB / 0.9833 GB, free: 76 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 7.185e-05/0.003519, allocations: 38.5 kB / 0.9833 GB, free: 28 kB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.265e-05/0.003561, allocations: 24.91 kB / 0.9834 GB, free: 0 / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.003584, allocations: 8.047 kB / 0.9834 GB, free: 15.99 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.003603, allocations: 38.44 kB / 0.9834 GB, free: 15.94 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.003603, allocations: 0 / 0.9834 GB, free: 15.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.0001911/0.003795, allocations: 73.59 kB / 0.9835 GB, free: 15.87 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.003823, allocations: 59.39 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.008e-05/0.003873, allocations: 105.9 kB / 0.9836 GB, free: 15.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.428e-06/0.003882, allocations: 29.7 kB / 0.9837 GB, free: 15.65 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 2.939e-05/0.003912, allocations: 80.14 kB / 0.9837 GB, free: 15.57 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.381e-05/0.003925, allocations: 7.891 kB / 0.9837 GB, free: 15.56 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.003951, allocations: 17.7 kB / 0.9838 GB, free: 15.54 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.004051, allocations: 314.8 kB / 0.9841 GB, free: 15.22 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.006e-05/0.004092, allocations: 15.98 kB / 0.9841 GB, free: 15.2 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.327e-05/0.004125, allocations: 15.98 kB / 0.9841 GB, free: 15.19 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.176e-05/0.004197, allocations: 44.88 kB / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.004198, allocations: 0 / 0.9841 GB, free: 15.14 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.003e-05/0.004288, allocations: 65.61 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.0043, allocations: 4 kB / 0.9842 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.004304, allocations: 3.984 kB / 0.9842 GB, free: 15.06 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.004314, allocations: 7.875 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.9e-05/0.004373, allocations: 8 kB / 0.9842 GB, free: 15.05 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.004378, allocations: 4.031 kB / 0.9842 GB, free: 15.04 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.144e-05/0.004399, allocations: 11.98 kB / 0.9842 GB, free: 15.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-06/0.004403, allocations: 0 / 0.9842 GB, free: 15.03 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 4.429e-05/0.004447, allocations: 105.8 kB / 0.9843 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.004459, allocations: 11.89 kB / 0.9843 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.351e-05/0.004473, allocations: 3.312 kB / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.004474, allocations: 0 / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.004478, allocations: 0 / 0.9844 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.00448, allocations: 3.984 kB / 0.9844 GB, free: 14.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.556e-05/0.004566, allocations: 128.8 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.91e-07/0.004566, allocations: 0 / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.068e-05/0.004587, allocations: 8.234 kB / 0.9845 GB, free: 14.73 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.004588, allocations: 3.938 kB / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.004595, allocations: 8 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.004597, allocations: 4 kB / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.004597, allocations: 0 / 0.9845 GB, free: 14.71 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.004711, allocations: 159.5 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.67e-06/0.004717, allocations: 3.969 kB / 0.9847 GB, free: 14.54 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-06/0.004724, allocations: 4 kB / 0.9847 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.607e-05/0.00476, allocations: 7.984 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/0.004788, allocations: 4 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.074e-06/0.00479, allocations: 4 kB / 0.9847 GB, free: 14.52 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.343e-05/0.004813, allocations: 83.27 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.004814, allocations: 3.938 kB / 0.9848 GB, free: 14.43 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001342/0.004948, allocations: 4 kB / 0.9848 GB, free: 14.43 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.0002785/0.005226, allocations: 0.6968 MB / 0.9854 GB, free: 13.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001222/0.005348, allocations: 39.89 kB / 0.9855 GB, free: 13.66 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.005351, allocations: 4 kB / 0.9855 GB, free: 13.66 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.718e-05/0.005388, allocations: 15.98 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.00558, allocations: 7.938 kB / 0.9855 GB, free: 13.64 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.005879, allocations: 134.6 kB / 0.9856 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.221e-05/0.005921, allocations: 67.33 kB / 0.9857 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.782e-05/0.005939, allocations: 3.938 kB / 0.9857 GB, free: 13.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.00597, allocations: 12.5 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of SimCode: time 3.9e-07/0.005971, allocations: 0 / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01399/0.01996, allocations: 1.972 MB / 0.9876 GB, free: 11.53 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.669/6.689, allocations: 3.938 kB / 0.9876 GB, free: 11.52 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiplyByParameter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiplyByParameter.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.653891996480525]