Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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.001939/0.001939, allocations: 97.88 kB / 19.73 MB, free: 2.117 MB / 14.72 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.002463/0.002463, allocations: 215.3 kB / 23.03 MB, free: 4.922 MB / 14.72 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 1.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.7/2.7, allocations: 476.8 MB / 0.7715 GB, free: 3.898 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 65.02 kB / 1.118 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2889, allocations: 170 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor): time 0.004933/0.2939, allocations: 3.099 MB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002852/0.2967, allocations: 1.679 MB / 1.289 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.2968, allocations: 7.938 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.2979, allocations: 334.8 kB / 1.289 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0004915/0.2984, allocations: 211.1 kB / 1.289 GB, free: 5.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.2989, allocations: 184.9 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003932/0.2993, allocations: 323 kB / 1.29 GB, free: 4.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.2996, allocations: 176.9 kB / 1.29 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.2998, allocations: 139.6 kB / 1.29 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003051/0.3001, allocations: 175.4 kB / 1.29 GB, free: 4.355 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.725e-05/0.3002, allocations: 24 kB / 1.29 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000367/0.3005, allocations: 223.5 kB / 1.29 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001414/0.3007, allocations: 103.7 kB / 1.291 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.3008, allocations: 111.5 kB / 1.291 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.3014, allocations: 423.9 kB / 1.291 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3014, allocations: 0 / 1.291 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3014, allocations: 0 / 1.291 GB, free: 3.488 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.3014, allocations: 0 / 1.291 GB, free: 3.488 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009332/0.3023, allocations: 491.6 kB / 1.292 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.3023, allocations: 12.03 kB / 1.292 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.591e-05/0.3024, allocations: 4.625 kB / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.336e-05/0.3024, allocations: 58.73 kB / 1.292 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007416/0.3032, allocations: 92.69 kB / 1.292 GB, free: 2.805 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.3035, allocations: 206.1 kB / 1.292 GB, free: 2.578 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.3035, allocations: 12.81 kB / 1.292 GB, free: 2.566 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.689e-05/0.3036, allocations: 36.27 kB / 1.292 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006263/0.3042, allocations: 427.9 kB / 1.292 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.3043, allocations: 0 / 1.292 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.075e-05/0.3043, allocations: 8 kB / 1.292 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.3044, allocations: 28.42 kB / 1.292 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005032/0.3049, allocations: 313.5 kB / 1.293 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001673/0.3066, allocations: 1.085 MB / 1.294 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004496/0.307, allocations: 210.3 kB / 1.294 GB, free: 388 kB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.3072, allocations: 107 kB / 1.294 GB, free: 280 kB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.3073, allocations: 8 kB / 1.294 GB, free: 272 kB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.3073, allocations: 46.55 kB / 1.294 GB, free: 216 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=18): time 1.423e-06/0.3073, allocations: 0 / 1.294 GB, free: 216 kB / 0.9825 GB Notification: Performance of matching and sorting (n=19): time 0.001311/0.3086, allocations: 0.7079 MB / 1.295 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.3087, allocations: 55.41 kB / 1.295 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.3089, allocations: 199.2 kB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.3089, allocations: 29.7 kB / 1.295 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.309, allocations: 168.1 kB / 1.295 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.238e-05/0.3091, allocations: 71.41 kB / 1.295 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.3092, allocations: 61.66 kB / 1.295 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3093, allocations: 334.5 kB / 1.296 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.3095, allocations: 115.9 kB / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.3097, allocations: 169.9 kB / 1.296 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000446/0.3102, allocations: 296.2 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3102, allocations: 3.938 kB / 1.296 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007937/0.311, allocations: 417.5 kB / 1.297 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.311, allocations: 6.5 kB / 1.297 GB, free: 13.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.311, allocations: 7.984 kB / 1.297 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004333/0.3114, allocations: 96.92 kB / 1.297 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.3117, allocations: 51.91 kB / 1.297 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.3138, allocations: 1.772 MB / 1.299 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00022/0.314, allocations: 15.98 kB / 1.299 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.353e-05/0.314, allocations: 12.06 kB / 1.299 GB, free: 11.42 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001723/0.3142, allocations: 153.8 kB / 1.299 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.3143, allocations: 19.84 kB / 1.299 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005004/0.3148, allocations: 293.2 kB / 1.299 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.3148, allocations: 0 / 1.299 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.3148, allocations: 3.938 kB / 1.299 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3148, allocations: 11.98 kB / 1.299 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009307/0.3157, allocations: 0.6474 MB / 1.3 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3157, allocations: 192 / 1.3 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.316, allocations: 67.83 kB / 1.3 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.316, allocations: 0 / 1.3 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.3161, allocations: 8 kB / 1.3 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3161, allocations: 0 / 1.3 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3161, allocations: 4 kB / 1.3 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006565/0.3167, allocations: 0.5125 MB / 1.3 GB, free: 9.617 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.437e-05/0.3168, allocations: 39.98 kB / 1.3 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.3169, allocations: 8 kB / 1.3 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001901/0.317, allocations: 15.98 kB / 1.3 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.3171, allocations: 11.97 kB / 1.3 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.3171, allocations: 8 kB / 1.3 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001447/0.3172, allocations: 148 kB / 1.3 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3172, allocations: 0 / 1.3 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003705/0.3176, allocations: 68 kB / 1.3 GB, free: 9.32 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (loa.q[1],loa.q[2]) * 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 (20): * Single equations (assignments): 20 * 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.001019/0.3186, allocations: 1.059 MB / 1.302 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007502/0.3194, allocations: 410.4 kB / 1.302 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3194, allocations: 0 / 1.302 GB, free: 7.816 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.3196, allocations: 111.9 kB / 1.302 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.3199, allocations: 34.77 kB / 1.302 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/0.324, allocations: 2.907 MB / 1.305 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.3241, allocations: 161.2 kB / 1.305 GB, free: 4.457 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001696/0.3243, allocations: 53.91 kB / 1.305 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.3244, allocations: 63.42 kB / 1.305 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/0.3244, allocations: 0 / 1.305 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02949/0.3539, allocations: 5.452 MB / 1.31 GB, free: 15.07 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/11.97, allocations: 15.31 kB / 1.311 GB, free: 15.06 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.fmu > Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Sensors_Examples_GeneralizedSensor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Sensors.Examples.GeneralizedSensor.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: 18.464352351031266]