Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_8_0_0_Buildings_Obsolete_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 8.0.0/package.mo): time 1.437/1.437, allocations: 287.4 MB / 302.6 MB, free: 8.281 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009613/0.0009617, allocations: 176.9 kB / 371.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.118/1.118, allocations: 205.4 MB / 0.6298 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007116/0.0007116, allocations: 98.47 kB / 0.7431 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.000312, allocations: 12.17 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1495, allocations: 115.3 MB / 0.9788 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.0006078/0.1501, allocations: 397.9 kB / 0.9791 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005566/0.1507, allocations: 0.7815 MB / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.883e-05/0.1507, allocations: 0 / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.243e-05/0.1507, allocations: 0 / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.613e-05/0.1508, allocations: 0 / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 3.614e-05/0.1508, allocations: 3.984 kB / 0.9799 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.957e-05/0.1509, allocations: 19.94 kB / 0.9799 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.575e-05/0.1509, allocations: 11.98 kB / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/0.151, allocations: 15.92 kB / 0.9799 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.924e-05/0.151, allocations: 7.984 kB / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.151, allocations: 0 / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.611e-06/0.1511, allocations: 3.938 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.488e-06/0.1511, allocations: 7.938 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.255e-05/0.1511, allocations: 29.7 kB / 0.98 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 3.501e-05/0.1511, allocations: 7.969 kB / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1511, allocations: 0 / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.172e-06/0.1511, allocations: 0 / 0.98 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.735e-06/0.1511, allocations: 8 kB / 0.98 GB, free: 26.77 MB / 0.6198 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.0002684/0.1514, allocations: 343.7 kB / 0.9803 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1515, allocations: 8.031 kB / 0.9803 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.03e-05/0.1515, allocations: 30.75 kB / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.633e-05/0.1515, allocations: 0.9375 kB / 0.9804 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.713e-05/0.1516, allocations: 168.4 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-06/0.1516, allocations: 4.375 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.965e-06/0.1516, allocations: 384 / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.1517, allocations: 58.17 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1518, allocations: 3.938 kB / 0.9806 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.001e-06/0.1518, allocations: 3.984 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.1518, allocations: 4 kB / 0.9806 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.1519, allocations: 39.97 kB / 0.9806 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002521/0.1522, allocations: 268.8 kB / 0.9809 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.141e-05/0.1523, allocations: 46.5 kB / 0.9809 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.489e-05/0.1523, allocations: 20.91 kB / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.456e-06/0.1523, allocations: 0 / 0.981 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.316e-05/0.1524, allocations: 38.56 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 6.61e-07/0.1524, allocations: 0 / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0002535/0.1526, allocations: 89.77 kB / 0.9811 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.101e-05/0.1527, allocations: 55.41 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.41e-05/0.1527, allocations: 101.8 kB / 0.9812 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.971e-06/0.1527, allocations: 29.7 kB / 0.9813 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.873e-05/0.1527, allocations: 84.14 kB / 0.9813 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.087e-06/0.1527, allocations: 3.938 kB / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-06/0.1527, allocations: 0 / 0.9814 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.122e-05/0.1528, allocations: 310.8 kB / 0.9816 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.626e-05/0.1529, allocations: 27.98 kB / 0.9817 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.675e-05/0.1529, allocations: 19.97 kB / 0.9817 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.153, allocations: 48.83 kB / 0.9817 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.153, allocations: 7.938 kB / 0.9817 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001423/0.1532, allocations: 69.58 kB / 0.9818 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.1532, allocations: 12.02 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.125e-06/0.1532, allocations: 0 / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.676e-06/0.1532, allocations: 0 / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.1534, allocations: 35.97 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.1534, allocations: 3.938 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.663e-05/0.1534, allocations: 11.98 kB / 0.9819 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.1534, allocations: 0 / 0.9819 GB, free: 24.62 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.1535, allocations: 117.8 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.88e-05/0.1535, allocations: 0 / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.17e-05/0.1535, allocations: 7.125 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.1535, allocations: 4 kB / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.1535, allocations: 0 / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.1535, allocations: 0 / 0.982 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.416e-05/0.1536, allocations: 157.6 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.1536, allocations: 8 kB / 0.9822 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.1538, allocations: 35.97 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.1538, allocations: 0 / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.1538, allocations: 0 / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.1538, allocations: 0 / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1538, allocations: 4 kB / 0.9822 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.1539, allocations: 167.5 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.324e-05/0.154, allocations: 77.11 kB / 0.9824 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.195e-06/0.154, allocations: 7.969 kB / 0.9824 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.143e-05/0.1541, allocations: 11.98 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.476e-05/0.1541, allocations: 0 / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.1541, allocations: 0 / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.656e-05/0.1541, allocations: 87.27 kB / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1541, allocations: 0 / 0.9825 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001667/0.1543, allocations: 4 kB / 0.9825 GB, free: 23.86 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002693/0.1546, allocations: 0.7044 MB / 0.9832 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001487/0.1547, allocations: 47.94 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.1547, allocations: 0 / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.623e-05/0.1548, allocations: 28.05 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.155, allocations: 10.22 kB / 0.9833 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.1553, allocations: 126.6 kB / 0.9834 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.422e-05/0.1554, allocations: 0.677 MB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.811e-05/0.1554, allocations: 336 / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.092e-05/0.1555, allocations: 7.438 kB / 0.9841 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of SimCode: time 2.2e-07/0.1555, allocations: 4.062 kB / 0.9841 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1747/0.3301, allocations: 0.9868 MB / 0.9851 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001296/0.3303, allocations: 207.5 kB / 0.9853 GB, free: 21.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.589/1.919, allocations: 2.391 kB / 0.9853 GB, free: 21.11 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign.fmu > Buildings_8.0.0_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)