Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 194.3 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.192/1.192, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.067/2.067, allocations: 390.2 MB / 0.6647 GB, free: 444 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.487, allocations: 140.4 MB / 0.9498 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator): time 0.001977/0.489, allocations: 1.2 MB / 0.9509 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0003935/0.4894, allocations: 239.7 kB / 0.9512 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.259e-05/0.4895, allocations: 10.81 kB / 0.9512 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.4897, allocations: 114.3 kB / 0.9513 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001507/0.4899, allocations: 63.05 kB / 0.9513 GB, free: 7.938 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.674e-05/0.49, allocations: 80.39 kB / 0.9514 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000471/0.4904, allocations: 0.73 MB / 0.9521 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.4918, allocations: 1.947 MB / 0.954 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.4921, allocations: 0.5583 MB / 0.9546 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004375/0.4926, allocations: 0.6851 MB / 0.9552 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.4928, allocations: 116.4 kB / 0.9554 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.4929, allocations: 116.9 kB / 0.9555 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004387/0.4934, allocations: 0.7285 MB / 0.9562 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005146/0.4939, allocations: 0.819 MB / 0.957 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.4951, allocations: 2.435 MB / 0.9594 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4951, allocations: 0 / 0.9594 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.332e-06/0.4951, allocations: 5.094 kB / 0.9594 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.969e-05/0.4951, allocations: 0 / 0.9594 GB, free: 3.145 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.001451/0.4966, allocations: 1.863 MB / 0.9612 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.4966, allocations: 10.59 kB / 0.9612 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000264/0.4969, allocations: 324.9 kB / 0.9615 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.4971, allocations: 198.2 kB / 0.9617 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.4983, allocations: 0.9442 MB / 0.9626 GB, free: 0.8086 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-05/0.4984, allocations: 150.4 kB / 0.9628 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002072/0.4986, allocations: 203.8 kB / 0.9629 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002972/0.5015, allocations: 2.805 MB / 0.9657 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/0.5016, allocations: 17.38 kB / 0.9657 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.5018, allocations: 87.25 kB / 0.9658 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.829e-05/0.5018, allocations: 56.03 kB / 0.9658 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.5038, allocations: 1.639 MB / 0.9674 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006344/0.5102, allocations: 10.48 MB / 0.9777 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.387e-05/0.5102, allocations: 173.1 kB / 0.9778 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.5103, allocations: 84.14 kB / 0.9779 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.5103, allocations: 79.28 kB / 0.978 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.5103, allocations: 105.8 kB / 0.9781 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.5103, allocations: 0 / 0.9781 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 9.996e-05/0.5104, allocations: 80.98 kB / 0.9782 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.5105, allocations: 130.7 kB / 0.9783 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/0.5113, allocations: 0.9165 MB / 0.9792 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.518e-06/0.5113, allocations: 25.7 kB / 0.9792 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000404/0.5117, allocations: 0.8394 MB / 0.98 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.233e-05/0.5117, allocations: 19.98 kB / 0.9801 GB, free: 2.105 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002168/0.5119, allocations: 275 kB / 0.9803 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.512, allocations: 374.8 kB / 0.9807 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.5122, allocations: 133.2 kB / 0.9808 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000364/0.5126, allocations: 0.5912 MB / 0.9814 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005787/0.5132, allocations: 0.7728 MB / 0.9821 GB, free: 15.5 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.5132, allocations: 4 kB / 0.9821 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0008158/0.514, allocations: 0.7005 MB / 0.9828 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.514, allocations: 12 kB / 0.9828 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.514, allocations: 20 kB / 0.9829 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.252e-05/0.5141, allocations: 20 kB / 0.9829 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001815/0.5142, allocations: 87.72 kB / 0.983 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.184e-05/0.5143, allocations: 31.86 kB / 0.983 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002546/0.5145, allocations: 87.12 kB / 0.9831 GB, free: 14.53 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.5146, allocations: 36 kB / 0.9831 GB, free: 14.5 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 45 (booInp[9,5].y,booInp[9,4].y,booInp[9,3].y,booInp[9,2].y,booInp[9,1].y,booInp[8,5].y,booInp[8,4].y,booInp[8,3].y,booInp[8,2].y,booInp[8,1].y,booInp[7,5].y,booInp[7,4].y,booInp[7,3].y,booInp[7,2].y,booInp[7,1].y,booInp[6,5].y,booInp[6,4].y,booInp[6,3].y,booInp[6,2].y,booInp[6,1].y,booInp[5,5].y,booInp[5,4].y,booInp[5,3].y,booInp[5,2].y,booInp[5,1].y,booInp[4,5].y,booInp[4,4].y,booInp[4,3].y,booInp[4,2].y,booInp[4,1].y,booInp[3,5].y,booInp[3,4].y,booInp[3,3].y,booInp[3,2].y,booInp[3,1].y,booInp[2,5].y,booInp[2,4].y,booInp[2,3].y,booInp[2,2].y,booInp[2,1].y,booInp[1,5].y,booInp[1,4].y,booInp[1,3].y,booInp[1,2].y,booInp[1,1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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 0.0006496/0.5152, allocations: 0.7608 MB / 0.9838 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.15e-05/0.5153, allocations: 164.2 kB / 0.984 GB, free: 13.56 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.283e-05/0.5154, allocations: 169.1 kB / 0.9842 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.672e-05/0.5155, allocations: 180.3 kB / 0.9843 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.716e-05/0.5155, allocations: 188.1 kB / 0.9845 GB, free: 13.01 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.664e-05/0.5156, allocations: 184.2 kB / 0.9847 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.5168, allocations: 1.608 MB / 0.9863 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.576e-05/0.5168, allocations: 105 kB / 0.9864 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.593e-05/0.5169, allocations: 101 kB / 0.9865 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.493e-05/0.5169, allocations: 180.2 kB / 0.9866 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.77e-05/0.517, allocations: 180.3 kB / 0.9868 GB, free: 10.57 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.422e-05/0.517, allocations: 188.2 kB / 0.987 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.493e-05/0.5171, allocations: 184.2 kB / 0.9872 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.5172, allocations: 355 kB / 0.9875 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 8.73e-05/0.5173, allocations: 217.4 kB / 0.9877 GB, free: 9.582 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.5174, allocations: 192.2 kB / 0.9879 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.679e-05/0.5175, allocations: 101 kB / 0.988 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.5175, allocations: 180.3 kB / 0.9882 GB, free: 9.098 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.5176, allocations: 104.9 kB / 0.9883 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004294/0.518, allocations: 0.4951 MB / 0.9887 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.518, allocations: 0 / 0.9887 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000635/0.5186, allocations: 329.3 kB / 0.9891 GB, free: 8.172 MB / 0.7481 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 (0): * Single equations (assignments): 0 * 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.0003285/0.519, allocations: 0.8667 MB / 0.9899 GB, free: 7.273 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003153/0.5193, allocations: 291.8 kB / 0.9902 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.5193, allocations: 128 / 0.9902 GB, free: 6.992 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/0.5193, allocations: 7.938 kB / 0.9902 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004089/0.5197, allocations: 498.6 kB / 0.9907 GB, free: 6.496 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005932/0.5257, allocations: 6.947 MB / 0.9974 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008415/0.5265, allocations: 1.395 MB / 0.9988 GB, free: 13.59 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004187/0.5269, allocations: 292.5 kB / 0.9991 GB, free: 13.3 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/0.5274, allocations: 0.5149 MB / 0.9996 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of SimCode: time 2.21e-07/0.5274, allocations: 0 / 0.9996 GB, free: 12.79 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02588/0.5533, allocations: 12.38 MB / 1.012 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.736/7.289, allocations: 7.875 kB / 1.012 GB, free: 0.5781 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches