Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002053/0.002053, allocations: 103.1 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002302/0.002302, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.424/1.424, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.615/2.615, allocations: 443.5 MB / 0.7287 GB, free: 13.19 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002189/0.002189, allocations: 59.91 kB / 1.056 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9767/0.9788, allocations: 160.7 MB / 1.213 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.00981/0.9887, allocations: 6.849 MB / 1.22 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00665/0.9953, allocations: 3.079 MB / 1.223 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001018/0.9963, allocations: 27.97 kB / 1.223 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003034/0.9994, allocations: 0.9552 MB / 1.224 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001884/1.001, allocations: 0.5161 MB / 1.224 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001515/1.003, allocations: 433.5 kB / 1.224 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002257/1.005, allocations: 1.225 MB / 1.226 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/1.006, allocations: 0.5399 MB / 1.226 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001328/1.008, allocations: 481 kB / 1.227 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/1.009, allocations: 0.5439 MB / 1.227 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001657/1.009, allocations: 66.97 kB / 1.227 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001196/1.01, allocations: 386.9 kB / 1.228 GB, free: 8.855 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000478/1.011, allocations: 319.3 kB / 1.228 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/1.012, allocations: 448.6 kB / 1.228 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002711/1.015, allocations: 1.219 MB / 1.23 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/1.015, allocations: 0 / 1.23 GB, free: 7.137 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.825e-06/1.015, allocations: 4 kB / 1.23 GB, free: 7.133 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.933e-05/1.015, allocations: 4 kB / 1.23 GB, free: 7.129 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002939/1.018, allocations: 1.179 MB / 1.231 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/1.018, allocations: 8.625 kB / 1.231 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/1.018, allocations: 126.7 kB / 1.231 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00172/1.02, allocations: 236.1 kB / 1.231 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/1.021, allocations: 0.5964 MB / 1.232 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/1.021, allocations: 49.67 kB / 1.232 GB, free: 4.84 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/1.021, allocations: 68.3 kB / 1.232 GB, free: 4.773 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/1.023, allocations: 1.085 MB / 1.233 GB, free: 3.578 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/1.023, allocations: 7.891 kB / 1.233 GB, free: 3.57 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.964e-05/1.023, allocations: 35.98 kB / 1.233 GB, free: 3.535 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001666/1.023, allocations: 85.25 kB / 1.233 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/1.024, allocations: 0.7465 MB / 1.234 GB, free: 2.703 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006728/1.031, allocations: 5.89 MB / 1.239 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/1.032, allocations: 0.5086 MB / 1.24 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004798/1.033, allocations: 286 kB / 1.24 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.579e-05/1.033, allocations: 4.438 kB / 1.24 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/1.033, allocations: 39 kB / 1.24 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=47): time 2.404e-06/1.033, allocations: 0 / 1.24 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=48): time 0.004436/1.037, allocations: 1.991 MB / 1.242 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.97e-05/1.037, allocations: 59.83 kB / 1.242 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007741/1.038, allocations: 0.5509 MB / 1.243 GB, free: 8.82 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.435e-05/1.038, allocations: 37.64 kB / 1.243 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003313/1.038, allocations: 428 kB / 1.243 GB, free: 8.352 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/1.038, allocations: 182.5 kB / 1.243 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/1.039, allocations: 130.6 kB / 1.244 GB, free: 8.035 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001912/1.039, allocations: 374.6 kB / 1.244 GB, free: 7.66 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004442/1.039, allocations: 277.8 kB / 1.244 GB, free: 7.391 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/1.04, allocations: 493 kB / 1.245 GB, free: 6.816 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/1.041, allocations: 0.8093 MB / 1.245 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.041, allocations: 4 kB / 1.245 GB, free: 5.906 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00204/1.043, allocations: 1.079 MB / 1.246 GB, free: 4.812 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/1.043, allocations: 11.38 kB / 1.246 GB, free: 4.805 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/1.043, allocations: 8 kB / 1.246 GB, free: 4.797 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009122/1.044, allocations: 279.2 kB / 1.247 GB, free: 4.512 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005156/1.045, allocations: 131.7 kB / 1.247 GB, free: 4.383 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007736/1.052, allocations: 7.135 MB / 1.254 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007018/1.053, allocations: 36.02 kB / 1.254 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/1.053, allocations: 36 kB / 1.254 GB, free: 12.61 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005018/1.054, allocations: 249.5 kB / 1.254 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001858/1.054, allocations: 75.58 kB / 1.254 GB, free: 12.28 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/1.056, allocations: 0.8808 MB / 1.255 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/1.056, allocations: 4 kB / 1.255 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/1.056, allocations: 8 kB / 1.255 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/1.056, allocations: 0 / 1.255 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/1.059, allocations: 1.713 MB / 1.257 GB, free: 9.574 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/1.059, allocations: 7.938 kB / 1.257 GB, free: 9.566 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002937/1.059, allocations: 60.08 kB / 1.257 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008138/1.06, allocations: 271.1 kB / 1.257 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.985e-05/1.06, allocations: 8 kB / 1.257 GB, free: 9.223 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007687/1.068, allocations: 7.132 MB / 1.264 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.331e-06/1.068, allocations: 8.094 kB / 1.264 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/1.069, allocations: 0.976 MB / 1.265 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004265/1.07, allocations: 200.5 kB / 1.265 GB, free: 292 kB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/1.07, allocations: 15.88 kB / 1.265 GB, free: 276 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004024/1.07, allocations: 27.97 kB / 1.265 GB, free: 248 kB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/1.071, allocations: 43.94 kB / 1.265 GB, free: 204 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/1.071, allocations: 12.19 kB / 1.265 GB, free: 192 kB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0005387/1.071, allocations: 387.1 kB / 1.266 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/1.071, allocations: 0 / 1.266 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009025/1.072, allocations: 227.9 kB / 1.266 GB, free: 15.59 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002047/1.074, allocations: 1.533 MB / 1.267 GB, free: 14 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002185/1.076, allocations: 1.225 MB / 1.269 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.076, allocations: 0 / 1.269 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001459/1.078, allocations: 0.8697 MB / 1.269 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/1.079, allocations: 212.3 kB / 1.27 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01081/1.09, allocations: 6.367 MB / 1.276 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008143/1.091, allocations: 1.012 MB / 1.277 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004273/1.091, allocations: 125.9 kB / 1.277 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/1.091, allocations: 247.4 kB / 1.277 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of SimCode: time 1.072e-06/1.091, allocations: 0 / 1.277 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06323/1.155, allocations: 17.5 MB / 1.294 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/12.43, allocations: 22.38 kB / 1.294 GB, free: 2.234 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.46465562423691]