Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.202/1.202, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008627/0.0008628, allocations: 182.1 kB / 325.9 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.227/1.227, allocations: 205 MB / 0.576 GB, free: 20.98 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006446/0.0006447, allocations: 95.05 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002532/0.0002533, allocations: 13.06 kB / 0.7933 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1289, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.001021/0.13, allocations: 1.113 MB / 0.8973 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001853/0.1302, allocations: 100.6 kB / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.1302, allocations: 0 / 0.8974 GB, free: 66.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.411e-05/0.1302, allocations: 3.938 kB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.722e-05/0.1303, allocations: 0 / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 3.715e-05/0.1303, allocations: 11.98 kB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.234e-05/0.1304, allocations: 15.94 kB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.972e-05/0.1305, allocations: 11.98 kB / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.232e-05/0.1305, allocations: 7.984 kB / 0.8975 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.362e-05/0.1305, allocations: 11.92 kB / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.019e-05/0.1306, allocations: 0 / 0.8975 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.42e-06/0.1306, allocations: 8 kB / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.008e-05/0.1306, allocations: 0 / 0.8975 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.704e-05/0.1306, allocations: 7.938 kB / 0.8975 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.332e-05/0.1307, allocations: 20.17 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1307, allocations: 0 / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1307, allocations: 4 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.1307, allocations: 0 / 0.8975 GB, free: 66.75 MB / 0.6042 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.0002612/0.1309, allocations: 343.5 kB / 0.8978 GB, free: 66.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.961e-05/0.131, allocations: 8.031 kB / 0.8978 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.115e-05/0.131, allocations: 30.75 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.67e-05/0.131, allocations: 0.9375 kB / 0.8979 GB, free: 66.31 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.266e-05/0.1311, allocations: 172.2 kB / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.1311, allocations: 384 / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-06/0.1311, allocations: 384 / 0.898 GB, free: 66.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.1312, allocations: 59.05 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1313, allocations: 3.938 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.181e-06/0.1313, allocations: 4 kB / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.186e-06/0.1313, allocations: 0 / 0.8981 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001305/0.1314, allocations: 43.95 kB / 0.8981 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002553/0.1317, allocations: 264.8 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.444e-05/0.1318, allocations: 38.56 kB / 0.8984 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.212e-05/0.1318, allocations: 28.89 kB / 0.8985 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.1319, allocations: 4 kB / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.141e-05/0.1319, allocations: 30.56 kB / 0.8985 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1319, allocations: 0 / 0.8985 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0002576/0.1321, allocations: 93.59 kB / 0.8986 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.463e-05/0.1322, allocations: 55.34 kB / 0.8986 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.826e-05/0.1322, allocations: 101.8 kB / 0.8987 GB, free: 65.29 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.032e-06/0.1322, allocations: 29.7 kB / 0.8988 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.732e-05/0.1322, allocations: 88.2 kB / 0.8988 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.1323, allocations: 7.844 kB / 0.8989 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/0.1323, allocations: 9.719 kB / 0.8989 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 2.96e-05/0.1323, allocations: 314.8 kB / 0.8992 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.863e-05/0.1324, allocations: 23.98 kB / 0.8992 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.782e-05/0.1325, allocations: 19.98 kB / 0.8992 GB, free: 64.78 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.1326, allocations: 48.77 kB / 0.8993 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1326, allocations: 0 / 0.8993 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001474/0.1327, allocations: 77.66 kB / 0.8993 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.677e-06/0.1328, allocations: 4 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1328, allocations: 4 kB / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.1328, allocations: 0 / 0.8993 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.1329, allocations: 39.98 kB / 0.8994 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.1329, allocations: 0 / 0.8994 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.628e-05/0.133, allocations: 4.188 kB / 0.8994 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.133, allocations: 4 kB / 0.8994 GB, free: 64.59 MB / 0.6042 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 (1): * Single equations (assignments): 1 * 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 3.435e-05/0.133, allocations: 109.8 kB / 0.8995 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.1331, allocations: 7.984 kB / 0.8995 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.302e-05/0.1331, allocations: 11.11 kB / 0.8995 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.1331, allocations: 4 kB / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.1331, allocations: 0 / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-06/0.1331, allocations: 0 / 0.8995 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.438e-05/0.1332, allocations: 161.6 kB / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.1332, allocations: 0 / 0.8997 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/0.1333, allocations: 39.95 kB / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.1333, allocations: 0 / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.1333, allocations: 0 / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-07/0.1333, allocations: 0 / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1333, allocations: 0 / 0.8997 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001561/0.1335, allocations: 179.3 kB / 0.8999 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.182e-05/0.1335, allocations: 77.11 kB / 0.8999 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.338e-06/0.1335, allocations: 4 kB / 0.8999 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.397e-05/0.1336, allocations: 8 kB / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.1336, allocations: 3.984 kB / 0.9 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.1336, allocations: 4.031 kB / 0.9 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.724e-05/0.1337, allocations: 83.28 kB / 0.9 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1337, allocations: 3.938 kB / 0.9 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001759/0.1339, allocations: 4 kB / 0.9 GB, free: 63.81 MB / 0.6042 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 (1): * Single equations (assignments): 1 * 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.0002867/0.1341, allocations: 0.7103 MB / 0.9007 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00015/0.1343, allocations: 47.98 kB / 0.9008 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1343, allocations: 0 / 0.9008 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.353e-05/0.1344, allocations: 23.98 kB / 0.9008 GB, free: 63 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.1346, allocations: 4 kB / 0.9008 GB, free: 63 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.1349, allocations: 129.1 kB / 0.9009 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.886e-05/0.1349, allocations: 0.677 MB / 0.9016 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.738e-05/0.135, allocations: 0 / 0.9016 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.135, allocations: 7.438 kB / 0.9016 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of SimCode: time 1.9e-07/0.135, allocations: 4 kB / 0.9016 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1992/0.3342, allocations: 0.9941 MB / 0.9026 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001399/0.3344, allocations: 227.3 kB / 0.9028 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/1.925, allocations: 4 kB / 0.9028 GB, free: 61.03 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)