Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009912/0.0009913, allocations: 91.53 kB / 16.02 MB, free: 80 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.001435/0.001435, allocations: 179.8 kB / 16.92 MB, free: 6.652 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.414/1.414, allocations: 223.3 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.876/2.876, allocations: 462.7 MB / 0.7371 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003522, allocations: 7.062 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3047, allocations: 159.6 MB / 1.059 GB, free: 4.961 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003179/0.3079, allocations: 2.141 MB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002747/0.3107, allocations: 1.558 MB / 1.063 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.3109, allocations: 7.938 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001904/0.3111, allocations: 19.84 kB / 1.063 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005424/0.3116, allocations: 139.5 kB / 1.063 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.3122, allocations: 174.9 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0004045/0.3126, allocations: 315.2 kB / 1.064 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005595/0.3132, allocations: 238.1 kB / 1.064 GB, free: 360 kB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.3133, allocations: 71.64 kB / 1.064 GB, free: 288 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.3136, allocations: 99.64 kB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.3136, allocations: 4 kB / 1.064 GB, free: 184 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004479/0.3141, allocations: 247.6 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.765e-05/0.3142, allocations: 59.81 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.3143, allocations: 109.2 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003658/0.3147, allocations: 227.7 kB / 1.065 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3147, allocations: 3.938 kB / 1.065 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.893e-06/0.3147, allocations: 4 kB / 1.065 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.054e-06/0.3147, allocations: 0 / 1.065 GB, free: 15.54 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0007199/0.3155, allocations: 447.1 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.3155, allocations: 15.97 kB / 1.065 GB, free: 15.03 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008242/0.3163, allocations: 84.64 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.3166, allocations: 230.1 kB / 1.065 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.3167, allocations: 12.66 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.3167, allocations: 12.38 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005156/0.3172, allocations: 295.5 kB / 1.066 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3173, allocations: 7.984 kB / 1.066 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.3173, allocations: 8 kB / 1.066 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.3173, allocations: 16.23 kB / 1.066 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004395/0.3178, allocations: 228.4 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.3196, allocations: 1.599 MB / 1.067 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/0.32, allocations: 319.3 kB / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.766e-05/0.3201, allocations: 65.67 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.3202, allocations: 0 / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.3202, allocations: 38.56 kB / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 8.91e-07/0.3202, allocations: 0 / 1.068 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of matching and sorting (n=10): time 0.0005577/0.3208, allocations: 244.6 kB / 1.068 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.3208, allocations: 85.3 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.3211, allocations: 207.4 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3211, allocations: 25.7 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.158e-05/0.3212, allocations: 155.7 kB / 1.069 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.3213, allocations: 35.47 kB / 1.069 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.3213, allocations: 21.7 kB / 1.069 GB, free: 11.05 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.3214, allocations: 326.8 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.3216, allocations: 75.95 kB / 1.069 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.3218, allocations: 156.6 kB / 1.069 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.3222, allocations: 238.9 kB / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3222, allocations: 0 / 1.069 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005004/0.3227, allocations: 277.1 kB / 1.07 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.3228, allocations: 179.6 kB / 1.07 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3228, allocations: 0 / 1.07 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3228, allocations: 4 kB / 1.07 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.3231, allocations: 55.89 kB / 1.07 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.3231, allocations: 4 kB / 1.07 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002578/0.3234, allocations: 27.83 kB / 1.07 GB, free: 9.602 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.3234, allocations: 15.92 kB / 1.07 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.078e-06/0.3234, allocations: 4.938 kB / 1.07 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003991/0.3238, allocations: 211.5 kB / 1.07 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3238, allocations: 4 kB / 1.07 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.272e-06/0.3239, allocations: 8.359 kB / 1.07 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.3241, allocations: 55.91 kB / 1.07 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.3241, allocations: 4 kB / 1.07 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.3243, allocations: 15.92 kB / 1.07 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.77e-05/0.3243, allocations: 16 kB / 1.07 GB, free: 9.273 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.3244, allocations: 213 kB / 1.07 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.3245, allocations: 15.81 kB / 1.07 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.3248, allocations: 154.9 kB / 1.071 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.3248, allocations: 4 kB / 1.071 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.3248, allocations: 7.938 kB / 1.071 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.3248, allocations: 0 / 1.071 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009413/0.3257, allocations: 0.7158 MB / 1.071 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3258, allocations: 0 / 1.071 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001092/0.3259, allocations: 27.92 kB / 1.071 GB, free: 8.043 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.3259, allocations: 4 kB / 1.071 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.3259, allocations: 8 kB / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3259, allocations: 128 / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/0.3259, allocations: 8.547 kB / 1.071 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.3262, allocations: 386.5 kB / 1.072 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.521e-05/0.3263, allocations: 104.9 kB / 1.072 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.145e-05/0.3264, allocations: 8 kB / 1.072 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.3266, allocations: 11.98 kB / 1.072 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3e-05/0.3266, allocations: 19.91 kB / 1.072 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.3266, allocations: 11.98 kB / 1.072 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001731/0.3268, allocations: 157.1 kB / 1.072 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3268, allocations: 0 / 1.072 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005303/0.3274, allocations: 72 kB / 1.072 GB, free: 7.207 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * 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.0001496/0.3275, allocations: 111.1 kB / 1.072 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005286/0.3281, allocations: 280.1 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3281, allocations: 1.5 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.559e-05/0.3282, allocations: 56.47 kB / 1.072 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005223/0.3287, allocations: 40.95 kB / 1.073 GB, free: 6.723 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007526/0.3295, allocations: 0.5208 MB / 1.073 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.3298, allocations: 0.7324 MB / 1.074 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.154e-05/0.3299, allocations: 27.36 kB / 1.074 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of SimCode: time 6.61e-07/0.3299, allocations: 3.938 kB / 1.074 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of Templates: time 0.004337/0.3342, allocations: 2.291 MB / 1.076 GB, free: 3.059 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches