Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) 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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R",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.006821/0.006821, allocations: 97.69 kB / 15.73 MB, free: 6.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 198.8 kB / 16.68 MB, free: 5.961 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.69/2.69, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 63.91 kB / 1.083 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2696, allocations: 162.3 MB / 1.242 GB, free: 9.836 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.007972/0.2776, allocations: 6.727 MB / 1.248 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004226/0.2819, allocations: 3.04 MB / 1.251 GB, free: 32 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002282/0.2821, allocations: 27.81 kB / 1.251 GB, free: 4 kB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.4898/0.7719, allocations: 0.9346 MB / 1.252 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.773, allocations: 0.4985 MB / 1.253 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008515/0.7738, allocations: 428.7 kB / 1.253 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.7749, allocations: 1.223 MB / 1.254 GB, free: 7.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007689/0.7756, allocations: 0.6581 MB / 1.255 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004693/0.7761, allocations: 473.9 kB / 1.256 GB, free: 7.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005784/0.7767, allocations: 0.5206 MB / 1.256 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.7768, allocations: 67.66 kB / 1.256 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006085/0.7774, allocations: 379.2 kB / 1.256 GB, free: 7.227 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002674/0.7777, allocations: 316.9 kB / 1.257 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003618/0.7781, allocations: 447 kB / 1.257 GB, free: 7.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001122/0.7792, allocations: 1.216 MB / 1.258 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.7792, allocations: 4.531 kB / 1.258 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7792, allocations: 0 / 1.258 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.189e-05/0.7792, allocations: 4 kB / 1.258 GB, free: 6.863 MB / 0.9981 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.001535/0.7808, allocations: 1.182 MB / 1.26 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.7808, allocations: 14.03 kB / 1.26 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.7809, allocations: 122.3 kB / 1.26 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00138/0.7823, allocations: 242.6 kB / 1.26 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007111/0.7831, allocations: 0.592 MB / 1.26 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.373e-05/0.7831, allocations: 51.92 kB / 1.261 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.96e-05/0.7832, allocations: 61.2 kB / 1.261 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.7845, allocations: 1.094 MB / 1.262 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.273e-05/0.7845, allocations: 3.094 kB / 1.262 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.579e-05/0.7846, allocations: 32.62 kB / 1.262 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001639/0.7847, allocations: 84.39 kB / 1.262 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.7858, allocations: 0.7567 MB / 1.262 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003988/0.7898, allocations: 5.885 MB / 1.268 GB, free: 15.83 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007811/0.7906, allocations: 0.5564 MB / 1.269 GB, free: 15.61 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/0.7909, allocations: 324.6 kB / 1.269 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/0.791, allocations: 6.031 kB / 1.269 GB, free: 15.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.93e-05/0.791, allocations: 38.3 kB / 1.269 GB, free: 15.44 MB / 1.014 GB Notification: Performance of pre-optimization done (n=47): time 1.483e-06/0.791, allocations: 0 / 1.269 GB, free: 15.44 MB / 1.014 GB Notification: Performance of matching and sorting (n=48): time 0.00322/0.7942, allocations: 2 MB / 1.271 GB, free: 14.38 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.684e-05/0.7943, allocations: 59.67 kB / 1.271 GB, free: 14.31 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004927/0.7948, allocations: 0.558 MB / 1.272 GB, free: 14.04 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.7948, allocations: 32.14 kB / 1.272 GB, free: 14.01 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.7951, allocations: 427.4 kB / 1.272 GB, free: 13.67 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001339/0.7952, allocations: 180.8 kB / 1.272 GB, free: 13.53 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001846/0.7954, allocations: 127.9 kB / 1.272 GB, free: 13.46 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.7956, allocations: 376.8 kB / 1.273 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003741/0.796, allocations: 274.8 kB / 1.273 GB, free: 13.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005204/0.7965, allocations: 494.3 kB / 1.274 GB, free: 12.65 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009307/0.7974, allocations: 0.8091 MB / 1.274 GB, free: 12.11 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.7974, allocations: 2.469 kB / 1.274 GB, free: 12.11 MB / 1.014 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001649/0.7991, allocations: 1.093 MB / 1.275 GB, free: 11.64 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.7991, allocations: 8.406 kB / 1.275 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.7991, allocations: 8.609 kB / 1.275 GB, free: 11.64 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007491/0.7999, allocations: 281.1 kB / 1.276 GB, free: 11.55 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.8003, allocations: 134.1 kB / 1.276 GB, free: 11.54 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006594/0.8069, allocations: 7.128 MB / 1.283 GB, free: 5.32 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/0.8074, allocations: 40.36 kB / 1.283 GB, free: 5.309 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/0.8075, allocations: 27.61 kB / 1.283 GB, free: 5.305 MB / 1.014 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.0003124/0.8078, allocations: 258.9 kB / 1.283 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.8079, allocations: 75.98 kB / 1.283 GB, free: 5.078 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001503/0.8094, allocations: 0.8945 MB / 1.284 GB, free: 4.684 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.8094, allocations: 9.516 kB / 1.284 GB, free: 4.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.8094, allocations: 5.016 kB / 1.284 GB, free: 4.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.8094, allocations: 3.609 kB / 1.284 GB, free: 4.68 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002436/0.8119, allocations: 1.716 MB / 1.286 GB, free: 3.824 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.8119, allocations: 2.656 kB / 1.286 GB, free: 3.824 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.8121, allocations: 63.67 kB / 1.286 GB, free: 3.816 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007163/0.8129, allocations: 271.4 kB / 1.286 GB, free: 3.727 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.241e-05/0.8129, allocations: 7.875 kB / 1.286 GB, free: 3.723 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006237/0.8191, allocations: 7.127 MB / 1.293 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.8192, allocations: 3.156 kB / 1.293 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001422/0.8206, allocations: 0.9986 MB / 1.294 GB, free: 12.97 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.8209, allocations: 199.2 kB / 1.294 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.108e-05/0.821, allocations: 16.02 kB / 1.294 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003442/0.8213, allocations: 34.66 kB / 1.294 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.402e-05/0.8214, allocations: 43.97 kB / 1.294 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.282e-05/0.8214, allocations: 15.98 kB / 1.294 GB, free: 12.78 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004091/0.8219, allocations: 386 kB / 1.295 GB, free: 12.6 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8219, allocations: 0 / 1.295 GB, free: 12.6 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007109/0.8226, allocations: 224.1 kB / 1.295 GB, free: 12.58 MB / 1.029 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.001702/0.8243, allocations: 1.536 MB / 1.296 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001833/0.8261, allocations: 1.283 MB / 1.298 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.8261, allocations: 0 / 1.298 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.8273, allocations: 0.8887 MB / 1.298 GB, free: 10.16 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009349/0.8283, allocations: 220.2 kB / 1.299 GB, free: 10.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007889/0.8362, allocations: 6.36 MB / 1.305 GB, free: 6.434 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006164/0.8368, allocations: 1.013 MB / 1.306 GB, free: 5.699 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003504/0.8372, allocations: 128.3 kB / 1.306 GB, free: 5.664 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003085/0.8375, allocations: 250.8 kB / 1.306 GB, free: 5.473 MB / 1.029 GB Notification: Performance of SimCode: time 3.41e-07/0.8375, allocations: 1.031 kB / 1.306 GB, free: 5.473 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.358/3.195, allocations: 17.38 MB / 1.323 GB, free: 2.34 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.06/26.26, allocations: 6.672 kB / 1.323 GB, free: 2.336 MB / 1.029 GB (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches